/** * Returns details of the given physical type's members * * @param physicalTypeMetadata the physical type for which to get the * members (can be <code>null</code>) * @return <code>null</code> if the member details are unavailable */ protected MemberDetails getMemberDetails(final PhysicalTypeMetadata physicalTypeMetadata) { MemberDetailsScanner memberDetailsScanner = getMemberDetailsScanner(); Validate.notNull(memberDetailsScanner, "MemberDetailsScanner is required"); // We need to abort if we couldn't find dependent metadata if (physicalTypeMetadata == null || !physicalTypeMetadata.isValid()) { return null; } final ClassOrInterfaceTypeDetails cid = physicalTypeMetadata.getMemberHoldingTypeDetails(); if (cid == null) { // Abort if the type's class details aren't available (parse error // etc) return null; } return memberDetailsScanner.getMemberDetails(getClass().getName(), cid); }
/** * Returns details of the given physical type's members * * @param physicalTypeMetadata the physical type for which to get the * members (can be <code>null</code>) * @return <code>null</code> if the member details are unavailable */ protected MemberDetails getMemberDetails( final PhysicalTypeMetadata physicalTypeMetadata) { // We need to abort if we couldn't find dependent metadata if (physicalTypeMetadata == null || !physicalTypeMetadata.isValid()) { return null; } final ClassOrInterfaceTypeDetails cid = physicalTypeMetadata .getMemberHoldingTypeDetails(); if (cid == null) { // Abort if the type's class details aren't available (parse error // etc) return null; } return memberDetailsScanner.getMemberDetails(getClass().getName(), cid); }
if (governorPhysicalTypeMetadata == null || !governorPhysicalTypeMetadata.isValid()) {
/** * Returns details of the given physical type's members * * @param physicalTypeMetadata the physical type for which to get the * members (can be <code>null</code>) * @return <code>null</code> if the member details are unavailable */ protected MemberDetails getMemberDetails(final PhysicalTypeMetadata physicalTypeMetadata) { MemberDetailsScanner memberDetailsScanner = getMemberDetailsScanner(); Validate.notNull(memberDetailsScanner, "MemberDetailsScanner is required"); // We need to abort if we couldn't find dependent metadata if (physicalTypeMetadata == null || !physicalTypeMetadata.isValid()) { return null; } final ClassOrInterfaceTypeDetails cid = physicalTypeMetadata.getMemberHoldingTypeDetails(); if (cid == null) { // Abort if the type's class details aren't available (parse error // etc) return null; } return memberDetailsScanner.getMemberDetails(getClass().getName(), cid); }
|| !governorPhysicalTypeMetadata.isValid()) {
|| !identifierPhysicalTypeMetadata.isValid() || identifierPhysicalTypeMetadata .getMemberHoldingTypeDetails() == null) {
if (governorPhysicalTypeMetadata == null || !governorPhysicalTypeMetadata.isValid()) {