HomeSort by relevance Sort by last modified time
    Searched refs:annotationType (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /libcore/luni/src/main/java/java/lang/annotation/
IncompleteAnnotationException.java 31 private Class<? extends Annotation> annotationType;
39 * @param annotationType
44 public IncompleteAnnotationException(Class<? extends Annotation> annotationType,
47 annotationType.getName());
48 this.annotationType = annotationType;
57 public Class<? extends Annotation> annotationType() {
58 return annotationType;
Annotation.java 35 Class<? extends Annotation> annotationType();
  /external/proguard/src/proguard/
MemberSpecification.java 34 public final String annotationType;
59 * @param annotationType the name of the class that must be an
73 String annotationType,
79 this.annotationType = annotationType;
100 (this.annotationType == null ? other.annotationType == null : this.annotationType.equals(other.annotationType)) &&
110 (annotationType == null ? 0 : annotationType.hashCode())
    [all...]
ClassSpecification.java 38 public final String annotationType;
71 classSpecification.annotationType,
90 * @param annotationType the name of the class that must be an
110 String annotationType,
118 annotationType,
137 * @param annotationType the name of the class that must be an
159 String annotationType,
169 this.annotationType = annotationType;
226 (this.annotationType == null ? other.annotationType == null : this.annotationType.equals(other.annotat (…)
    [all...]
ClassSpecificationVisitorFactory.java 206 String annotationType = classSpecification.annotationType;
208 if (annotationType != null)
213 new AnnotationTypeFilter(annotationType,
460 if (memberSpecification.annotationType != null)
465 new AnnotationTypeFilter(memberSpecification.annotationType,
  /libcore/luni/src/main/java/java/lang/reflect/
AnnotatedElement.java 34 * @param annotationType
38 * if {@code annotationType} is {@code null}
40 <T extends Annotation> T getAnnotation(Class<T> annotationType);
64 * @param annotationType
68 * if {@code annotationType} is {@code null}
70 boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
  /external/junit/src/org/junit/experimental/theories/
ParameterSignature.java 63 public <T extends Annotation> T findDeepAnnotation(Class<T> annotationType) {
65 return findDeepAnnotation(annotations2, annotationType, 3);
69 Annotation[] annotations, Class<T> annotationType, int depth) {
73 if (annotationType.isInstance(each))
74 return annotationType.cast(each);
75 Annotation candidate= findDeepAnnotation(each.annotationType()
76 .getAnnotations(), annotationType, depth - 1);
78 return annotationType.cast(candidate);
84 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
86 if (annotationType.isInstance(each)
    [all...]
  /libcore/libart/src/main/java/java/lang/reflect/
AccessibleObject.java 94 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
107 @Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
Constructor.java 193 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
194 if (annotationType == null) {
195 throw new NullPointerException("annotationType == null");
197 return AnnotationAccess.isDeclaredAnnotationPresent(this, annotationType);
200 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
201 if (annotationType == null) {
202 throw new NullPointerException("annotationType == null");
204 return AnnotationAccess.getDeclaredAnnotation(this, annotationType);
Method.java 250 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
251 if (annotationType == null) {
252 throw new NullPointerException("annotationType == null");
254 return AnnotationAccess.isDeclaredAnnotationPresent(this, annotationType);
297 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
298 if (annotationType == null) {
299 throw new NullPointerException("annotationType == null");
301 return AnnotationAccess.getDeclaredAnnotation(this, annotationType);
Field.java 238 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
239 if (annotationType == null) {
240 throw new NullPointerException("annotationType == null");
242 return AnnotationAccess.getDeclaredAnnotation(this, annotationType);
245 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
246 if (annotationType == null) {
247 throw new NullPointerException("annotationType == null");
249 return AnnotationAccess.isDeclaredAnnotationPresent(this, annotationType);
    [all...]
  /libcore/luni/src/main/java/libcore/reflect/
AnnotationFactory.java 58 public static AnnotationMember[] getElementsDescription(Class<? extends Annotation> annotationType) {
60 AnnotationMember[] desc = cache.get(annotationType);
65 if (!annotationType.isAnnotation()) {
66 throw new IllegalArgumentException("Type is not annotation: " + annotationType.getName());
68 Method[] declaredMethods = annotationType.getDeclaredMethods();
81 cache.put(annotationType, desc);
88 * @param annotationType the annotation type definition
92 public static <A extends Annotation> A createAnnotation(Class<? extends Annotation> annotationType,
94 AnnotationFactory factory = new AnnotationFactory(annotationType, elements);
95 return (A) Proxy.newProxyInstance(annotationType.getClassLoader()
    [all...]
  /external/junit/src/org/junit/runner/
Description.java 181 * @return the annotation of type annotationType that is attached to this description node,
184 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
186 if (each.annotationType().equals(annotationType))
187 return annotationType.cast(each);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
IncompleteAnnotationExceptionTest.java 55 assertSame("wrong annotation type", clazz, e.annotationType());
  /libcore/luni/src/main/java/java/lang/
Package.java 79 * @param annotationType
85 public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
87 if (annotationType.isInstance(annotation)) {
117 * @param annotationType
123 public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
124 return getAnnotation(annotationType) != null;
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
AnnotationItem.java 83 String annotationType = dexFile.getType(typeIndex);
84 return String.format("annotation_item[0x%x]: %s", annotationItemOffset, annotationType);
  /cts/tools/dex-tools/test/dex/reader/
DexTestsCommon.java 117 protected DexAnnotation getAnnotation(DexAnnotatedElement element, String annotationType) {
119 assertNotNull(annotationType);
121 if(annotationType.equals(anno.getTypeName())){
125 fail("Annotation: " + annotationType +" not present in Element.");
126 throw new IllegalArgumentException("Annotation: " + annotationType +" not present in Element.");
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
Injector.java 77 if (annotation.annotationType().equals(InjectView.class)) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
AccessibleObjectTest.java 161 ignoreOrder.add(annotations[0].annotationType());
162 ignoreOrder.add(annotations[1].annotationType());
176 ignoreOrder.add(annotations[0].annotationType());
177 ignoreOrder.add(annotations[1].annotationType());
  /external/javassist/src/main/javassist/bytecode/annotation/
AnnotationImpl.java 44 private transient Class annotationType;
51 JDK_ANNOTATION_TYPE_METHOD = clazz.getMethod("annotationType", (Class[])null);
96 if (annotationType == null) {
99 annotationType = classLoader.loadClass(typeName);
107 return annotationType;
123 * <code>AnnotationImpl</code>. The <code>annotationType()</code> method
140 else if ("annotationType".equals(name)
190 Method[] methods = annotationType.getDeclaredMethods();
250 Method[] methods = annotationType.getDeclaredMethods();
  /external/proguard/src/proguard/gui/
MemberSpecificationDialog.java 328 String annotationType = memberSpecification.annotationType;
333 annotationTypeTextField.setText(annotationType == null ? "" : ClassUtil.externalType(annotationType));
371 String annotationType = annotationTypeTextField.getText();
377 annotationType =
378 annotationType.equals("") ||
379 annotationType.equals("***") ? null : ClassUtil.internalType(annotationType);
407 new MemberSpecification(0, 0, annotationType, name, type)
    [all...]
  /cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/
CtsJavaScannerDoclet.java 98 String atype = annot.annotationType().toString();
115 if (annot.annotationType().toString().equals(JUNIT4_TEST_ANNOTATION)) {
158 if (annot.annotationType().toString().equals(JUNIT4_TEST_ANNOTATION)) {
  /libcore/dex/src/main/java/com/android/dex/
EncodedValueReader.java 47 private int annotationType;
107 * int annotationType = getAnnotationType();
117 annotationType = Leb128.readUnsignedLeb128(in);
127 return annotationType;
  /external/junit/src/org/junit/runners/model/
FrameworkMethod.java 150 * Returns the annotation of type {@code annotationType} on this method, if
153 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
154 return fMethod.getAnnotation(annotationType);
  /external/mockito/src/org/mockito/internal/configuration/
DefaultAnnotationEngine.java 47 if (annotationProcessorMap.containsKey(annotation.annotationType())) {
48 return (FieldAnnotationProcessor<A>) annotationProcessorMap.get(annotation.annotationType());

Completed in 2284 milliseconds

1 2 3 4 5