Searched refs:TurbineElementType (Results 1 – 6 of 6) sorted by relevance
/external/turbine/java/com/google/turbine/binder/bound/ |
D | AnnotationMetadata.java | 23 import com.google.turbine.model.TurbineElementType; 33 private static final ImmutableSet<TurbineElementType> DEFAULT_TARGETS = getDefaultElements(); 35 private static ImmutableSet<TurbineElementType> getDefaultElements() { in getDefaultElements() 36 EnumSet<TurbineElementType> values = EnumSet.allOf(TurbineElementType.class); in getDefaultElements() 37 values.remove(TurbineElementType.TYPE_PARAMETER); in getDefaultElements() 38 values.remove(TurbineElementType.TYPE_USE); in getDefaultElements() 43 private final ImmutableSet<TurbineElementType> target; 48 ImmutableSet<TurbineElementType> annotationTarget, in AnnotationMetadata() 61 public ImmutableSet<TurbineElementType> target() { in target()
|
/external/turbine/java/com/google/turbine/binder/ |
D | DisambiguateTypeAnnotations.java | 37 import com.google.turbine.model.TurbineElementType; 106 ? TurbineElementType.CONSTRUCTOR in bindMethod() 107 : TurbineElementType.METHOD, in bindMethod() 138 TurbineElementType.PARAMETER, in bindParam() 151 TurbineElementType declarationTarget, in disambiguate() 160 Set<TurbineElementType> target = env.get(anno.sym()).annotationMetadata().target(); in disambiguate() 161 if (target.contains(TurbineElementType.TYPE_USE)) { in disambiguate() 184 env, TurbineElementType.FIELD, base.type(), base.annotations(), declarationAnnotations); in bindField()
|
D | ConstBinder.java | 40 import com.google.turbine.model.TurbineElementType; 161 ImmutableSet<TurbineElementType> target = null; in bindAnnotationMetadata() 193 private static ImmutableSet<TurbineElementType> bindTarget(AnnoInfo annotation) { in bindTarget() 194 ImmutableSet.Builder<TurbineElementType> result = ImmutableSet.builder(); in bindTarget() 226 ImmutableSet.Builder<TurbineElementType> target, EnumConstantValue enumVal) { in bindTargetElement() 228 target.add(TurbineElementType.valueOf(enumVal.sym().name())); in bindTargetElement()
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClass.java | 51 import com.google.turbine.model.TurbineElementType; 469 ImmutableSet<TurbineElementType> target = null; 502 private static ImmutableSet<TurbineElementType> bindTarget(AnnotationInfo annotation) { in bindTarget() 503 ImmutableSet.Builder<TurbineElementType> result = ImmutableSet.builder(); in bindTarget() 523 ImmutableSet.Builder<TurbineElementType> target, EnumConstValue enumVal) { in bindTargetElement() 525 target.add(TurbineElementType.valueOf(enumVal.constName())); in bindTargetElement()
|
/external/turbine/java/com/google/turbine/model/ |
D | TurbineElementType.java | 20 public enum TurbineElementType { enum
|
/external/turbine/javatests/com/google/turbine/binder/ |
D | BinderTest.java | 32 import com.google.turbine.model.TurbineElementType; 290 assertThat(a.annotationMetadata().target()).containsExactly(TurbineElementType.TYPE_USE); in incompleteClasspath()
|