Searched refs:annotations (Results 1 - 25 of 178) sorted by relevance

12345678

/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DRuntimeAnnotations_attribute.java43 annotations = new Annotation[num_annotations];
44 for (int i = 0; i < annotations.length; i++)
45 annotations[i] = new Annotation(cr);
48 protected RuntimeAnnotations_attribute(int name_index, Annotation[] annotations) { argument
49 super(name_index, length(annotations));
50 this.annotations = annotations;
60 public final Annotation[] annotations; field in class:RuntimeAnnotations_attribute
H A DRuntimeInvisibleAnnotations_attribute.java44 public RuntimeInvisibleAnnotations_attribute(ConstantPool cp, Annotation[] annotations) argument
46 this(cp.getUTF8Index(Attribute.RuntimeInvisibleAnnotations), annotations);
49 public RuntimeInvisibleAnnotations_attribute(int name_index, Annotation[] annotations) { argument
50 super(name_index, annotations);
H A DRuntimeVisibleAnnotations_attribute.java44 public RuntimeVisibleAnnotations_attribute(ConstantPool cp, Annotation[] annotations) argument
46 this(cp.getUTF8Index(Attribute.RuntimeVisibleAnnotations), annotations);
49 public RuntimeVisibleAnnotations_attribute(int name_index, Annotation[] annotations) { argument
50 super(name_index, annotations);
H A DRuntimeParameterAnnotations_attribute.java46 Annotation[] annotations = new Annotation[num_annotations];
48 annotations[i] = new Annotation(cr);
49 parameter_annotations[p] = annotations;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DReference.java41 * and a set of annotations (represented as a {@link Declaration}).
57 * The declaration from which annotations for the {@link #type} is read.
60 public final Declaration annotations; field in class:Reference
64 * and annotations on the method.
72 * and annotations on the parameter.
79 * Creates a reference from a class declaration and its annotations.
88 public Reference(TypeMirror type, Declaration annotations) { argument
89 if(type==null || annotations==null)
92 this.annotations = annotations;
[all...]
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DParameter.java67 * Get the annotations of this parameter.
70 * @return the annotations of this parameter.
73 AnnotationDesc[] annotations(); method in interface:Parameter
H A DPackageDoc.java114 * Get the annotations of this package.
117 * @return the annotations of this package.
120 AnnotationDesc[] annotations(); method in interface:PackageDoc
H A DProgramElementDoc.java89 * Get the annotations of this program element.
92 * @return the annotations of this program element.
95 AnnotationDesc[] annotations(); method in interface:ProgramElementDoc
/openjdk7/langtools/test/tools/javadoc/annotations/annotatePackage/
H A Dexpected.out9 annotations:
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/
H A DTypeReference.java62 * The annotations associated with the reference of this type.
66 public final Annotation[] annotations; field in class:TypeReference
68 public TypeReference(QName tagName, Type type, Annotation... annotations) { argument
69 if(tagName==null || type==null || annotations==null) {
74 if(annotations == null) nullArgs += (nullArgs.length() > 0 ? ", annotations" : "annotations");
83 this.annotations = annotations;
91 for (Annotation a : annotations) {
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJVar.java64 private List<JAnnotationUse> annotations = null; field in class:JVar
159 if(annotations==null)
160 annotations = new ArrayList<JAnnotationUse>();
162 annotations.add(a);
180 public Collection<JAnnotationUse> annotations() { method in class:JVar
181 if (annotations == null)
182 annotations = new ArrayList<JAnnotationUse>();
183 return Collections.unmodifiableList(annotations);
187 return annotations!=null;
191 if (annotations !
[all...]
H A DJEnumConstant.java60 private List<JAnnotationUse> annotations = null; field in class:JEnumConstant
114 if(annotations==null)
115 annotations = new ArrayList<JAnnotationUse>();
117 annotations.add(a);
136 * {@link JAnnotatable#annotations()}
138 public Collection<JAnnotationUse> annotations() { method in class:JEnumConstant
139 if (annotations == null)
140 annotations = new ArrayList<JAnnotationUse>();
141 return Collections.unmodifiableList(annotations);
147 if (annotations !
[all...]
H A DJAnnotatable.java54 * and returns a type-safe writer to fill in the values of such annotations.
59 * Read-only live view of all annotations on this {@link JAnnotatable}
64 Collection<JAnnotationUse> annotations(); method in interface:JAnnotatable
/openjdk7/langtools/test/tools/javac/processing/errors/TestParseErrors/
H A DTestParseErrors.java39 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/jdk/test/java/lang/annotation/Missing/
H A DMissingTest.java48 * For the annotated element argument, get all its annotations and
50 * annotations. Additionally, verify at least one annotation is
55 java.lang.annotation.Annotation[] annotations;
57 annotations = element.getAnnotations();
59 System.err.println("Error: Did not get an exception reading annotations on "
62 + java.util.Arrays.toString(annotations));
65 if (annotations.length == 0) {
66 System.err.println("Error: no annotations found on " + element);
71 System.err.println("Error: Got an unexpected exception reading annotations on "
79 * For the annotated element argument, get all its annotations an
[all...]
/openjdk7/jdk/src/share/classes/java/lang/reflect/
H A DReflectAccess.java42 byte[] annotations)
50 annotations);
61 byte[] annotations,
73 annotations,
84 byte[] annotations,
93 annotations,
36 newField(Class<?> declaringClass, String name, Class<?> type, int modifiers, int slot, String signature, byte[] annotations) argument
53 newMethod(Class<?> declaringClass, String name, Class<?>[] parameterTypes, Class<?> returnType, Class<?>[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations, byte[] annotationDefault) argument
78 newConstructor(Class<T> declaringClass, Class<?>[] parameterTypes, Class<?>[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations) argument
/openjdk7/langtools/test/tools/javac/processing/6414633/
H A DA.java34 public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { argument
36 for (TypeElement anno: annotations) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/annotations/
H A DReset.java28 package com.sun.org.glassfish.external.statistics.annotations;
/openjdk7/langtools/test/tools/javac/6341866/
H A DAnno.java31 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/langtools/test/tools/javac/processing/6359313/
H A DT6359313.java43 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/langtools/test/tools/javac/processing/6511613/
H A DDummyProcessor.java30 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/langtools/test/tools/javac/processing/6512707/
H A DT6512707.java47 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/langtools/test/tools/javac/processing/6994946/
H A DTestProcessor.java33 public boolean process(Set<? extends TypeElement> annotations, argument
/openjdk7/langtools/test/tools/javac/processing/errors/
H A DTestErrorCount.java41 public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { argument
/openjdk7/langtools/test/tools/javac/processing/werror/
H A DWError1.java43 public boolean process(Set<? extends TypeElement> annotations, argument

Completed in 891 milliseconds

12345678