HomeSort by relevance Sort by last modified time
    Searched defs:WildcardTypeName (Results 1 - 4 of 4) sorted by null

  /external/javapoet/src/main/java/com/squareup/javapoet/
WildcardTypeName.java 31 public final class WildcardTypeName extends TypeName {
35 private WildcardTypeName(List<TypeName> upperBounds, List<TypeName> lowerBounds) {
39 private WildcardTypeName(List<TypeName> upperBounds, List<TypeName> lowerBounds,
56 @Override public WildcardTypeName annotated(List<AnnotationSpec> annotations) {
57 return new WildcardTypeName(upperBounds, lowerBounds, concatAnnotations(annotations));
61 return new WildcardTypeName(upperBounds, lowerBounds);
79 public static WildcardTypeName subtypeOf(TypeName upperBound) {
80 return new WildcardTypeName(Collections.singletonList(upperBound), Collections.emptyList());
83 public static WildcardTypeName subtypeOf(Type upperBound) {
91 public static WildcardTypeName supertypeOf(TypeName lowerBound)
    [all...]
  /external/javapoet/src/test/java/com/squareup/javapoet/
TypeNameTest.java 154 assertEqualsHashCodeAndToString(WildcardTypeName.subtypeOf(Object.class),
155 WildcardTypeName.subtypeOf(Object.class));
156 assertEqualsHashCodeAndToString(WildcardTypeName.subtypeOf(Serializable.class),
157 WildcardTypeName.subtypeOf(Serializable.class));
158 assertEqualsHashCodeAndToString(WildcardTypeName.supertypeOf(String.class),
159 WildcardTypeName.supertypeOf(String.class));
AnnotatedTypeNameTest.java 92 TypeName actual = WildcardTypeName.supertypeOf(type);
98 TypeName actual = WildcardTypeName.subtypeOf(type);
108 annotatedEquivalence(WildcardTypeName.get(Object.class));
  /external/dagger2/lib/
auto-value-1.4.1.jar 

Completed in 4098 milliseconds