/** * Checks the classes mentioned in the given class member specifications, * printing notes if necessary. */ private void checkMemberSpecifications(List memberSpecifications, boolean isField) { if (memberSpecifications != null) { for (int index = 0; index < memberSpecifications.size(); index++) { MemberSpecification memberSpecification = (MemberSpecification)memberSpecifications.get(index); checkType(memberSpecification.annotationType); if (isField) { checkType(memberSpecification.descriptor); } else { checkDescriptor(memberSpecification.descriptor); } } } }
/** * Checks the classes mentioned in the given class member specifications, * printing notes if necessary. */ private void checkMemberSpecifications(List memberSpecifications, boolean isField) { if (memberSpecifications != null) { for (int index = 0; index < memberSpecifications.size(); index++) { MemberSpecification memberSpecification = (MemberSpecification)memberSpecifications.get(index); checkType(memberSpecification.annotationType); if (isField) { checkType(memberSpecification.descriptor); } else { checkDescriptor(memberSpecification.descriptor); } } } }
/** * Checks the classes mentioned in the given class member specifications, * printing notes if necessary. */ private void checkMemberSpecifications(List memberSpecifications, boolean isField) { if (memberSpecifications != null) { for (int index = 0; index < memberSpecifications.size(); index++) { MemberSpecification memberSpecification = (MemberSpecification)memberSpecifications.get(index); checkType(memberSpecification.annotationType); if (isField) { checkType(memberSpecification.descriptor); } else { checkDescriptor(memberSpecification.descriptor); } } } }
/** * Checks the classes mentioned in the given class member specifications, * printing notes if necessary. */ private void checkMemberSpecifications(List memberSpecifications, boolean isField) { if (memberSpecifications != null) { for (int index = 0; index < memberSpecifications.size(); index++) { MemberSpecification memberSpecification = (MemberSpecification)memberSpecifications.get(index); checkType(memberSpecification.annotationType); if (isField) { checkType(memberSpecification.descriptor); } else { checkDescriptor(memberSpecification.descriptor); } } } }
/** * Checks the classes mentioned in the given class specifications, printing * notes if necessary. */ public void checkClassSpecifications(List classSpecifications) { if (classSpecifications != null) { for (int index = 0; index < classSpecifications.size(); index++) { ClassSpecification classSpecification = (ClassSpecification)classSpecifications.get(index); checkType(classSpecification.annotationType); checkClassName(classSpecification.className); checkType(classSpecification.extendsAnnotationType); checkClassName(classSpecification.extendsClassName); checkMemberSpecifications(classSpecification.fieldSpecifications, true); checkMemberSpecifications(classSpecification.methodSpecifications, false); } } }
/** * Checks the classes mentioned in the given class member descriptor, * printing notes if necessary. */ private void checkDescriptor(String descriptor) { if (descriptor != null) { InternalTypeEnumeration internalTypeEnumeration = new InternalTypeEnumeration(descriptor); checkType(internalTypeEnumeration.returnType()); while (internalTypeEnumeration.hasMoreTypes()) { checkType(internalTypeEnumeration.nextType()); } } }
/** * Checks the classes mentioned in the given class member descriptor, * printing notes if necessary. */ private void checkDescriptor(String descriptor) { if (descriptor != null) { InternalTypeEnumeration internalTypeEnumeration = new InternalTypeEnumeration(descriptor); checkType(internalTypeEnumeration.returnType()); while (internalTypeEnumeration.hasMoreTypes()) { checkType(internalTypeEnumeration.nextType()); } } }
/** * Checks the classes mentioned in the given class specifications, printing * notes if necessary. Returns the number of notes printed. */ public void checkClassSpecifications(List classSpecifications) { if (classSpecifications != null) { for (int index = 0; index < classSpecifications.size(); index++) { ClassSpecification classSpecification = (ClassSpecification)classSpecifications.get(index); checkType(classSpecification.annotationType); checkClassName(classSpecification.className); checkType(classSpecification.extendsAnnotationType); checkClassName(classSpecification.extendsClassName); checkMemberSpecifications(classSpecification.fieldSpecifications, true); checkMemberSpecifications(classSpecification.methodSpecifications, false); } } }
/** * Checks the classes mentioned in the given class specifications, printing * notes if necessary. */ public void checkClassSpecifications(List classSpecifications) { if (classSpecifications != null) { for (int index = 0; index < classSpecifications.size(); index++) { ClassSpecification classSpecification = (ClassSpecification)classSpecifications.get(index); checkType(classSpecification.annotationType); checkClassName(classSpecification.className); checkType(classSpecification.extendsAnnotationType); checkClassName(classSpecification.extendsClassName); checkMemberSpecifications(classSpecification.fieldSpecifications, true); checkMemberSpecifications(classSpecification.methodSpecifications, false); } } }
/** * Checks the classes mentioned in the given class specifications, printing * notes if necessary. */ public void checkClassSpecifications(List classSpecifications) { if (classSpecifications != null) { for (int index = 0; index < classSpecifications.size(); index++) { ClassSpecification classSpecification = (ClassSpecification)classSpecifications.get(index); checkType(classSpecification.annotationType); checkClassName(classSpecification.className); checkType(classSpecification.extendsAnnotationType); checkClassName(classSpecification.extendsClassName); checkMemberSpecifications(classSpecification.fieldSpecifications, true); checkMemberSpecifications(classSpecification.methodSpecifications, false); } } }
/** * Checks the classes mentioned in the given class member descriptor, * printing notes if necessary. */ private void checkDescriptor(String descriptor) { if (descriptor != null) { InternalTypeEnumeration internalTypeEnumeration = new InternalTypeEnumeration(descriptor); checkType(internalTypeEnumeration.returnType()); while (internalTypeEnumeration.hasMoreTypes()) { checkType(internalTypeEnumeration.nextType()); } } }
/** * Checks the classes mentioned in the given class member descriptor, * printing notes if necessary. */ private void checkDescriptor(String descriptor) { if (descriptor != null) { InternalTypeEnumeration internalTypeEnumeration = new InternalTypeEnumeration(descriptor); checkType(internalTypeEnumeration.returnType()); while (internalTypeEnumeration.hasMoreTypes()) { checkType(internalTypeEnumeration.nextType()); } } }