Searched refs:Compound (Results 1 - 25 of 28) sorted by relevance

12

/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/
H A DSymbolMetadata.java63 private static final List<Attribute.Compound> DECL_NOT_STARTED = List.of(null);
64 private static final List<Attribute.Compound> DECL_IN_PROGRESS = List.of(null);
69 private List<Attribute.Compound> attributes = DECL_NOT_STARTED;
98 public List<Attribute.Compound> getDeclarationAttributes() {
114 public void setDeclarationAttributes(List<Attribute.Compound> a) {
185 public SymbolMetadata append(List<Attribute.Compound> l) {
236 public SymbolMetadata prepend(List<Attribute.Compound> l) {
249 private List<Attribute.Compound> filterDeclSentinels(List<Attribute.Compound> a) {
H A DAnnoConstruct.java58 public abstract List<? extends Attribute.Compound> getAnnotationMirrors();
62 protected <A extends Annotation> Attribute.Compound getAttribute(Class<A> annoType) {
65 for (Attribute.Compound anno : getAnnotationMirrors()) {
105 Attribute.Compound direct = null, container = null;
108 for (Attribute.Compound attribute : getAnnotationMirrors()) {
125 Attribute.Compound[] contained = unpackContained(container);
163 private Attribute.Compound[] unpackContained(Attribute.Compound container) {
168 ListBuffer<Attribute.Compound> compounds = new ListBuffer<>();
171 if (a instanceof Attribute.Compound)
[all...]
H A DAttribute.java146 public static class Compound extends Attribute implements AnnotationMirror { class in class:Attribute
166 public Compound(Type type, method in class:Attribute.Compound
174 public Compound(Type type, method in class:Attribute.Compound
197 private Compound getFirstEmbeddedTC() {
215 Compound from = getFirstEmbeddedTC();
277 public Attribute.Compound getValue() {
300 public static class TypeCompound extends Compound {
301 public TypeCompound(Compound compound,
414 void visitCompound(Attribute.Compound compound);
H A DLint.java65 public Lint augment(Attribute.Compound attr) {
341 Lint augment(Lint parent, Attribute.Compound attr) {
349 Lint augment(Lint parent, List<Attribute.Compound> attrs) {
353 for (Attribute.Compound a: attrs) {
385 public void visitCompound(Attribute.Compound compound) {
H A DSymbol.java141 public List<Attribute.Compound> getRawAttributes() {
158 public Attribute.Compound attribute(Symbol anno) {
159 for (Attribute.Compound a : getRawAttributes()) {
169 public void appendAttributes(List<Attribute.Compound> l) {
213 public List<Attribute.Compound> getDeclarationAttributes() {
231 public void prependAttributes(List<Attribute.Compound> l) {
247 public void setDeclarationAttributes(List<Attribute.Compound> a) {
673 public List<Attribute.Compound> getAnnotationMirrors() {
860 public List<Attribute.Compound> getAnnotationMirrors() {
865 List<Attribute.Compound> re
[all...]
H A DTypeAnnotations.java152 Attribute.Compound atTarget = tsym.getAnnotationTypeMetadata().getTarget();
174 public AnnotationType annotationTargetType(Attribute.Compound a, Symbol s) {
299 List<Attribute.Compound> allAnnotations = sym.getRawAttributes();
300 ListBuffer<Attribute.Compound> declAnnos = new ListBuffer<>();
304 for (Attribute.Compound a : allAnnotations) {
695 private Attribute.TypeCompound toTypeCompound(Attribute.Compound a, TypeAnnotationPosition p) {
H A DTypes.java4747 public RetentionPolicy getRetention(Attribute.Compound a) {
4753 Attribute.Compound c = sym.attribute(syms.retentionType.tsym);
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DAnnotationValueImpl.java97 public void visitCompound(Attribute.Compound c) {
152 public void visitCompound(Attribute.Compound c) {
H A DAnnotationDescImpl.java55 private final Attribute.Compound annotation;
58 AnnotationDescImpl(DocEnv env, Attribute.Compound annotation) {
H A DParameterImpl.java105 for (Attribute.Compound a : sym.getRawAttributes()) {
H A DAnnotatedTypeImpl.java61 for (Attribute.Compound a : tas) {
H A DProgramElementDocImpl.java170 for (Attribute.Compound a : sym.getRawAttributes()) {
H A DTypeVariableImpl.java148 for (Attribute.Compound a : tas) {
H A DPackageDocImpl.java295 for (Attribute.Compound a : sym.getRawAttributes()) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/model/
H A DJavacElements.java46 import com.sun.tools.javac.code.Attribute.Compound;
284 List<Attribute.Compound> annos = sym.getAnnotationMirrors();
285 return matchAnnoToTree(cast(Attribute.Compound.class, findme),
295 private JCTree matchAnnoToTree(Attribute.Compound findme,
296 List<Attribute.Compound> annos,
298 for (Attribute.Compound anno : annos) {
327 public void visitCompound(Attribute.Compound anno) {
451 Compound ac = cast(Compound.class, a);
493 Attribute.Compound ann
[all...]
H A DAnnotationProxyMaker.java64 private final Attribute.Compound anno;
68 private AnnotationProxyMaker(Attribute.Compound anno,
79 Attribute.Compound anno, Class<A> annoType) {
237 public void visitCompound(Attribute.Compound c) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DAnnotate.java29 import com.sun.tools.javac.code.Attribute.Compound;
317 * Gather up annotations into a map from type symbols to lists of Compound attributes,
320 private <T extends Attribute.Compound> void annotateNow(Symbol toAnnotate,
389 List<Attribute.Compound> attrs = (List<Attribute.Compound>)buf.reverse();
403 public Attribute.Compound attributeAnnotation(JCAnnotation tree, Type expectedAnnotationType,
412 Attribute.Compound ac = new Attribute.Compound(tree.type, elems);
686 private class AnnotationContext<T extends Attribute.Compound> {
711 private <T extends Attribute.Compound>
[all...]
H A DCheck.java33 import com.sun.tools.javac.code.Attribute.Compound;
2890 public void validateRepeatable(TypeSymbol s, Attribute.Compound repeatable, DiagnosticPosition pos) {
3176 Attribute.Compound atTarget = s.getAnnotationTypeMetadata().getTarget();
3628 Compound functionalType = cs.attribute(syms.functionalInterfaceType.tsym);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/
H A DClassWriter.java641 ListBuffer<Attribute.Compound> buf = new ListBuffer<>();
642 for (Attribute.Compound a : s.getRawAttributes())
646 for (Attribute.Compound a : buf)
666 for (Attribute.Compound a : s.getRawAttributes()) {
700 int writeJavaAnnotations(List<Attribute.Compound> attrs) {
702 ListBuffer<Attribute.Compound> visibles = new ListBuffer<>();
703 ListBuffer<Attribute.Compound> invisibles = new ListBuffer<>();
704 for (Attribute.Compound a : attrs) {
717 for (Attribute.Compound a : visibles)
725 for (Attribute.Compound
[all...]
H A DClassReader.java212 * The prototype @Target Attribute.Compound if this class is an annotation annotated with
218 * The prototype @Repetable Attribute.Compound if this class is an annotation annotated with
2047 List<Attribute.Compound> deproxyCompoundList(List<CompoundAnnotationProxy> pl) {
2049 ListBuffer<Attribute.Compound> buf = new ListBuffer<>();
2056 Attribute.Compound deproxyCompound(CompoundAnnotationProxy a) {
2065 return new Attribute.Compound(annotationType, buf.toList());
2132 public void visitCompound(Attribute.Compound compound) {
2270 List<Attribute.Compound> newList = deproxyCompoundList(l);
2271 for (Attribute.Compound attr : newList) {
2312 Attribute.Compound compoun
[all...]
H A DJNIWriter.java160 for (Attribute.Compound a: sym.getDeclarationAttributes()) {
/openjdk10/langtools/test/tools/javac/processing/model/type/
H A DBasicAnnoTests.java78 import static com.sun.tools.javac.code.Attribute.Compound;
279 Compound theAnno = (Compound)m;
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java816 public List<JCAnnotation> Annotations(List<Attribute.Compound> attributes) {
819 for (List<Attribute.Compound> i = attributes; i.nonEmpty(); i=i.tail) {
877 public void visitCompound(Attribute.Compound compound) {
884 public JCAnnotation visitCompoundInternal(Attribute.Compound compound) {
912 JCAnnotation translate(Attribute.Compound a) {
925 return annotationBuilder.translate((Attribute.Compound)a);
/openjdk10/langtools/test/tools/javac/T8010737/
H A DParameterNamesAreNotCopiedToAnonymousInitTest.java57 import com.sun.tools.javac.code.Attribute.Compound;
/openjdk10/langtools/test/tools/javac/lib/
H A DDPrinter.java1386 public void visitCompound(Attribute.Compound a) {

Completed in 215 milliseconds

12