HomeSort by relevance Sort by last modified time
    Searched defs:annotation (Results 226 - 250 of 312) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/proguard/src/proguard/optimize/peephole/
TargetClassChanger.java 26 import proguard.classfile.attribute.annotation.*;
27 import proguard.classfile.attribute.annotation.visitor.*;
261 // Change the references of the annotation.
286 public void visitAnnotation(Clazz clazz, Annotation annotation)
289 updateReferencedClasses(annotation.referencedClasses);
292 annotation.elementValuesAccept(clazz, this);
298 public void visitAnyElementValue(Clazz clazz, Annotation annotation, ElementValue elementValue)
304 // Change the referenced annotation class
    [all...]
  /frameworks/testing/androidtestlib/src/com/android/test/runner/
AndroidJUnitRunner.java 24 import android.test.suitebuilder.annotation.LargeTest;
83 * {@link android.test.suitebuilder.annotation.SmallTest} or
84 * {@link android.test.suitebuilder.annotation.MediumTest} or
85 * {@link android.test.suitebuilder.annotation.LargeTest}:</b>
89 * <b>Filter test run to tests with given annotation:</b> adb shell am instrument -w
90 * -e annotation com.android.foo.MyAnnotation
95 * e.g. "-e size large -e annotation com.android.foo.MyAnnotation" will run only tests with both
98 * <b>Filter test run to tests <i>without</i> given annotation:</b> adb shell am instrument -w
105 * the {@link LargeTest} annotation that do NOT have the "com.android.foo.MyAnnotation" annotations.
129 private static final String ARGUMENT_ANNOTATION = "annotation";
350 String annotation = arguments.getString(ARGUMENT_ANNOTATION); local
    [all...]
  /libcore/luni/src/main/java/java/lang/reflect/
Method.java 35 import java.lang.annotation.Annotation;
145 Object[] annotation = getSignatureAnnotation(declaringClass, slot); local
147 if (annotation == null) {
151 return StringUtils.combineStrings(annotation);
155 * Returns the Signature annotation for this method. Returns {@code null} if
267 public Annotation[] getDeclaredAnnotations() {
270 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot);
272 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
278 static native <A extends Annotation> A getAnnotation
    [all...]
Field.java 35 import java.lang.annotation.Annotation;
130 Object[] annotation = getSignatureAnnotation(declaringClass, slot); local
132 if (annotation == null) {
136 return StringUtils.combineStrings(annotation);
140 * Get the Signature annotation for this field. Returns null if not found.
203 @Override public Annotation[] getDeclaredAnnotations() {
206 private static native Annotation[] getDeclaredAnnotations(Class declaringClass, int slot);
208 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
214 private static native <A extends Annotation> A getAnnotation
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
AddSuppressAnnotation.java 85 * Should it create a {@code @TargetApi} annotation instead of
139 // Remove the marker now that the suppress annotation has been added
148 AdtPlugin.log(ex, "Could not add suppress annotation");
161 SingleMemberAnnotation annotation = (SingleMemberAnnotation) o; local
162 String type = annotation.getTypeName().getFullyQualifiedName();
164 existing = annotation;
248 SingleMemberAnnotation annotation = (SingleMemberAnnotation) o; local
249 String type = annotation.getTypeName().getFullyQualifiedName();
251 existing = annotation;
351 // Don't offer to suppress (with an annotation) the annotation check
    [all...]
  /cts/tools/signature-tools/test/signature/converter/
ConvertClassTest.java 106 assertEquals(Kind.ANNOTATION, sigClass.getKind());
120 IAnnotation annotation = sigClass.getAnnotations().iterator().next(); local
121 assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName());
142 IAnnotation annotation = field.getAnnotations().iterator().next(); local
143 assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName());
    [all...]
  /external/javassist/src/main/javassist/bytecode/
AnnotationsAttribute.java 23 import javassist.bytecode.annotation.*;
42 * import javassist.bytecode.annotation.Annotation;
48 * Annotation an = attr.getAnnotation("Author");
53 * <p>This code snippet retrieves an annotation of the type <code>Author</code>
57 * <p>If the annotation type <code>Author</code> is annotated by a meta annotation:
74 * <p>If the member value of an annotation is not specified, the default value
76 * <code>Annotation</code> returns <code>null</code>
80 * annotation type
339 final int annotation(int pos) throws Exception { method in class:AnnotationsAttribute.Walker
345 int annotation(int pos, int type, int numPairs) throws Exception { method in class:AnnotationsAttribute.Walker
427 int annotation(int pos, int type, int numPairs) throws Exception { method in class:AnnotationsAttribute.Renamer
495 int annotation(int pos, int type, int numPairs) throws Exception { method in class:AnnotationsAttribute.Copier
617 int annotation(int pos, int type, int numPairs) throws Exception { method in class:AnnotationsAttribute.Parser
    [all...]
  /external/oprofile/pp/
opannotate.cpp 48 /// empty annotation fill string
156 /// There are 2 cases of annotation:
586 string annotation = source_line_annotation(filename, 0); local
587 if (trim(annotation, " \t:").empty())
591 str += annotation;
  /external/proguard/src/proguard/classfile/editor/
ClassReferenceFixer.java 25 import proguard.classfile.attribute.annotation.*;
26 import proguard.classfile.attribute.annotation.visitor.*;
295 // Fix the annotation.
356 public void visitAnnotation(Clazz clazz, Annotation annotation)
359 String typeName = clazz.getString(annotation.u2typeIndex);
361 annotation.referencedClasses);
366 annotation.u2typeIndex =
371 annotation.elementValuesAccept(clazz, this);
377 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue
    [all...]
ConstantPoolRemapper.java 25 import proguard.classfile.attribute.annotation.*;
26 import proguard.classfile.attribute.annotation.visitor.*;
534 public void visitAnnotation(Clazz clazz, Annotation annotation)
536 annotation.u2typeIndex =
537 remapConstantIndex(annotation.u2typeIndex);
540 annotation.elementValuesAccept(clazz, this);
546 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue)
555 public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementValue enumConstantElementValue
    [all...]
  /external/proguard/src/proguard/classfile/util/
ClassReferenceInitializer.java 25 import proguard.classfile.attribute.annotation.*;
26 import proguard.classfile.attribute.annotation.visitor.*;
329 // Initialize the annotation.
356 public void visitAnnotation(Clazz clazz, Annotation annotation)
358 annotation.referencedClasses =
360 clazz.getString(annotation.u2typeIndex));
363 annotation.elementValuesAccept(clazz, this);
369 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue
    [all...]
  /libcore/luni/src/main/java/java/lang/
Class.java 38 import java.lang.annotation.Annotation;
39 import java.lang.annotation.Inherited;
135 Object[] annotation = getSignatureAnnotation(); local
137 if (annotation == null) {
141 return StringUtils.combineStrings(annotation);
145 * Get the Signature annotation for this class. Returns null if not found.
238 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
243 A annotation = getDeclaredAnnotation(annotationType); local
244 if (annotation != null)
    [all...]
  /external/proguard/src/proguard/classfile/io/
ProgramClassReader.java 25 import proguard.classfile.attribute.annotation.*;
26 import proguard.classfile.attribute.annotation.visitor.*;
472 annotationsAttribute.annotations = new Annotation[annotationsAttribute.u2annotationsCount];
475 Annotation annotation = new Annotation(); local
476 this.visitAnnotation(clazz, annotation);
477 annotationsAttribute.annotations[index] = annotation;
499 parameterAnnotationsAttribute.parameterAnnotations = new Annotation[parameterAnnotationsAttribute.u2parametersCount][];
506 Annotation[] annotations = new Annotation[u2annotationsCount]
510 Annotation annotation = new Annotation(); local
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
ClassPrinter.java 25 import proguard.classfile.attribute.annotation.*;
26 import proguard.classfile.attribute.annotation.visitor.*;
590 " Annotation default attribute:");
841 public void visitAnnotation(Clazz clazz, Annotation annotation)
843 println(visitorInfo(annotation) +
844 " Annotation [" + clazz.getString(annotation.u2typeIndex) + "]:");
847 annotation.elementValuesAccept(clazz, this);
854 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
Filter.java 29 import java.lang.annotation.Annotation;
562 Annotation annotation; local
564 if ((annotation = field.getAnnotation(GenerateFinalPort.class)) != null) {
565 GenerateFinalPort generator = (GenerateFinalPort)annotation;
582 Annotation annotation; local
584 if ((annotation = field.getAnnotation(GenerateFieldPort.class)) != null) {
585 GenerateFieldPort generator = (GenerateFieldPort)annotation;
    [all...]
  /external/doclava/src/com/google/doclava/
InfoBuilder.java 540 ENUM, INTERFACE, ANNOTATION, ORDINARY
574 case ANNOTATION:
1414 ClassInfo annotation = buildClassName(child, containingClass, modifiers, local
    [all...]
  /cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java 336 || Kind.ANNOTATION.equals(sigClass.getKind())) {
429 // read mapping to defaults from annotation
430 DexAnnotation annotation = getDefaultMappingsAnnotation(dexClass); local
431 DexAnnotationAttribute dexAnnotationAttribute = annotation
887 DexEncodedAnnotation annotation = local
    [all...]
  /dalvik/libdex/
DexSwapVerify.cpp 1419 const DexAnnotationItem* annotation = local
    [all...]
DexFile.h 139 /* annotation constants */
141 kDexVisibilityBuild = 0x00, /* annotation visibility */
435 u1 annotation[1]; /* data in encoded_annotation format */ member in struct:DexAnnotationItem
808 /* Get an annotation set at a particular offset. */
817 /* get the class' annotation set */
824 /* get the class' field annotation list */
835 /* get field annotation list size */
842 /* return a pointer to the field's annotation set */
849 /* get the class' method annotation list */
865 /* get method annotation list size *
    [all...]
  /external/robolectric/lib/main/
junit-dep-4.8.2.jar 
  /libcore/support/src/test/java/tests/resources/
junit4-4.3.1.jar 
  /dalvik/dx/src/com/android/dx/merge/
DexMerger.java 21 import com.android.dx.io.Annotation;
124 writerSizes.annotationsSetRefList, "annotation set ref list");
127 annotationSetOut = dexOut.appendSection(writerSizes.annotationsSet, "annotation sets");
142 annotationOut = dexOut.appendSection(writerSizes.annotation, "annotation");
511 new IdMerger<Annotation>(annotationOut) {
516 @Override Annotation read(DexBuffer.Section in, IndexMap indexMap, int index) {
524 @Override void write(Annotation value) {
599 * Copy annotation sets from each input to the output.
601 * TODO: this may write multiple copies of the same annotation set
997 private int annotation; field in class:DexMerger.WriterSizes
    [all...]
  /external/proguard/lib/
proguard.jar 
  /prebuilts/tools/common/proguard/proguard4.7/lib/
proguard.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.text_3.5.0.v20100601-1300.jar 

Completed in 857 milliseconds

1 2 3 4 5 6 7 8 91011>>