Home
last modified time | relevance | path

Searched refs:TypeParameter (Results 1 – 25 of 110) sorted by relevance

12345

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DTypeParameter.java58 public final class TypeParameter extends ReferenceType implements NodeWithSimpleName<TypeParameter>… class
64 public TypeParameter() { in TypeParameter() method in TypeParameter
68 public TypeParameter(final String name) { in TypeParameter() method in TypeParameter
72 public TypeParameter(final String name, final NodeList<ClassOrInterfaceType> typeBound) { in TypeParameter() method in TypeParameter
80 …public TypeParameter(Range range, final SimpleName name, final NodeList<ClassOrInterfaceType> type… in TypeParameter() method in TypeParameter
86 …public TypeParameter(SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<Annotatio… in TypeParameter() method in TypeParameter
94 …public TypeParameter(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBo… in TypeParameter() method in TypeParameter
135 public TypeParameter setName(final SimpleName name) { in setName()
138 return (TypeParameter) this; in setName()
149 public TypeParameter setTypeBound(final NodeList<ClassOrInterfaceType> typeBound) { in setTypeBound()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DTypeParameter.java47 public final class TypeParameter extends ReferenceType<TypeParameter> implements NodeWithName<TypeP… class
55 public TypeParameter() { in TypeParameter() method in TypeParameter
58 public TypeParameter(final String name, final List<ClassOrInterfaceType> typeBound) { in TypeParameter() method in TypeParameter
63 public TypeParameter(Range range, final String name, final List<ClassOrInterfaceType> typeBound) { in TypeParameter() method in TypeParameter
69 …public TypeParameter(Range range, String name, List<ClassOrInterfaceType> typeBound, List<Annotati… in TypeParameter() method in TypeParameter
111 public TypeParameter setName(final String name) { in setName()
122 public TypeParameter setTypeBound(final List<ClassOrInterfaceType> typeBound) { in setTypeBound()
133 public TypeParameter setAnnotations(List<AnnotationExpr> annotations) { in setAnnotations()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithTypeParameters.java26 import com.github.javaparser.ast.type.TypeParameter;
37 NodeList<TypeParameter> getTypeParameters(); in getTypeParameters()
39 default TypeParameter getTypeParameter(int i) { in getTypeParameter()
44 default N setTypeParameter(int i, TypeParameter typeParameter) { in setTypeParameter()
50 default N addTypeParameter(TypeParameter typeParameter) { in addTypeParameter()
55 N setTypeParameters(NodeList<TypeParameter> typeParameters); in setTypeParameters()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeParameterTest.java35 TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; in testCaptureTypeParameter()
44 new TypeParameter<String>() {}; in testConcreteTypeRejected() method
53 new TypeParameter<A>() {}, new TypeParameter<A>() {}) in testEquals()
54 .addEqualityGroup(new TypeParameter<B>() {}) in testEquals()
59 new NullPointerTester().testAllPublicStaticMethods(TypeParameter.class); in testNullPointers()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_type_TypeParameter.txt1 Line 59) setName(name) ==> com.github.javaparser.ast.type.TypeParameter.setName(java.lang.String)
2 …Line 60) setTypeBound(typeBound) ==> com.github.javaparser.ast.type.TypeParameter.setTypeBound(jav…
3 Line 65) setName(name) ==> com.github.javaparser.ast.type.TypeParameter.setName(java.lang.String)
4 …Line 66) setTypeBound(typeBound) ==> com.github.javaparser.ast.type.TypeParameter.setTypeBound(jav…
5 …Line 71) setTypeBound(typeBound) ==> com.github.javaparser.ast.type.TypeParameter.setTypeBound(jav…
6 …Line 72) setAnnotations(annotations) ==> com.github.javaparser.ast.type.TypeParameter.setAnnotatio…
7 …github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.type.TypeParameter, A)
8 …om.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.type.TypeParameter, A)
/external/guava/guava/src/com/google/common/reflect/
DTypeParameter.java42 public abstract class TypeParameter<T> extends TypeCapture<T> { class
46 protected TypeParameter() { in TypeParameter() method in TypeParameter
57 if (o instanceof TypeParameter) { in equals()
58 TypeParameter<?> that = (TypeParameter<?>) o; in equals()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DMethodReferenceExpr.java24 import com.github.javaparser.ast.TypeParameter;
44 private List<TypeParameter> typeParameters;
53 List<TypeParameter> typeParameters, String identifier) { in MethodReferenceExpr()
81 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
85 public void setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistTypeParameter.txt8 Line 69) wrapped.getName() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getName()
9 Line 75) wrapped.getName() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getName()
13 …Line 101) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
16 …Line 101) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
19 …Line 102) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
20 …Line 104) wrapped.getInterfaceBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getI…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeParameter.txt8 Line 84) wrappedNode.getName() ==> com.github.javaparser.ast.type.TypeParameter.getName()
34 …Line 145) wrappedNode.getTypeBound() ==> com.github.javaparser.ast.type.TypeParameter.getTypeBound…
41 Line 213) wrappedNode.getName() ==> com.github.javaparser.ast.type.TypeParameter.getName()
42 …Line 213) wrappedNode.getTypeBound() ==> com.github.javaparser.ast.type.TypeParameter.getTypeBound…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java25 import com.github.javaparser.ast.TypeParameter;
41 private List<TypeParameter> typeParameters;
58 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration()
70 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration()
95 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
117 public void setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters()
DConstructorDeclaration.java30 import com.github.javaparser.ast.TypeParameter;
46 private List<TypeParameter> typeParameters;
64 …ctorDeclaration(int modifiers, List<AnnotationExpr> annotations, List<TypeParameter> typeParameter… in ConstructorDeclaration()
76 … List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, String name, in ConstructorDeclaration()
133 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
164 public void setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters()
DMethodDeclaration.java27 import com.github.javaparser.ast.TypeParameter;
46 private List<TypeParameter> typeParameters;
79 final List<TypeParameter> typeParameters, final Type type, final String name, in MethodDeclaration()
94 final List<TypeParameter> typeParameters, final Type type, final String name, in MethodDeclaration()
160 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
200 public void setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DTypeParameter.java43 public final class TypeParameter extends Node implements NamedNode { class
51 public TypeParameter() { in TypeParameter() method in TypeParameter
54 public TypeParameter(final String name, final List<ClassOrInterfaceType> typeBound) { in TypeParameter() method in TypeParameter
59 …public TypeParameter(final int beginLine, final int beginColumn, final int endLine, final int endC… in TypeParameter() method in TypeParameter
66 public TypeParameter(int beginLine, int beginColumn, int endLine, in TypeParameter() method in TypeParameter
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java26 import com.github.javaparser.ast.type.TypeParameter;
47 private List<TypeParameter> typeParameters;
66 final List<TypeParameter> typeParameters, in ClassOrInterfaceDeclaration()
80 final List<TypeParameter> typeParameters, in ClassOrInterfaceDeclaration()
112 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
156 public ClassOrInterfaceDeclaration setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters()
DConstructorDeclaration.java27 import com.github.javaparser.ast.type.TypeParameter;
53 private List<TypeParameter> typeParameters;
72 List<TypeParameter> typeParameters, in ConstructorDeclaration()
85 … List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, String name, in ConstructorDeclaration()
138 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
175 public ConstructorDeclaration setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters()
DMethodDeclaration.java36 import com.github.javaparser.ast.type.TypeParameter;
69 private List<TypeParameter> typeParameters;
106 final List<TypeParameter> typeParameters, in MethodDeclaration()
129 final List<TypeParameter> typeParameters, in MethodDeclaration()
208 public List<TypeParameter> getTypeParameters() { in getTypeParameters()
268 public MethodDeclaration setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java39 import com.github.javaparser.ast.type.TypeParameter;
63 private NodeList<TypeParameter> typeParameters;
79 …ons, final boolean isInterface, final SimpleName name, final NodeList<TypeParameter> typeParameter… in ClassOrInterfaceDeclaration()
87 …tionExpr> annotations, boolean isInterface, SimpleName name, NodeList<TypeParameter> typeParameter… in ClassOrInterfaceDeclaration()
119 public NodeList<TypeParameter> getTypeParameters() { in getTypeParameters()
167 …public ClassOrInterfaceDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters)… in setTypeParameters()
252 typeParameters.set(i, (TypeParameter) replacementNode); in replace()
DCallableDeclaration.java36 import com.github.javaparser.ast.type.TypeParameter;
57 private NodeList<TypeParameter> typeParameters;
69 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in CallableDeclaration()
77 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in CallableDeclaration()
172 public NodeList<TypeParameter> getTypeParameters() { in getTypeParameters()
178 public T setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters()
375 typeParameters.set(i, (TypeParameter) replacementNode); in replace()
DConstructorDeclaration.java34 import com.github.javaparser.ast.type.TypeParameter;
74 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in ConstructorDeclaration()
79 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in ConstructorDeclaration()
87 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in ConstructorDeclaration()
151 public ConstructorDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters()
DMethodDeclaration.java36 import com.github.javaparser.ast.type.TypeParameter;
82 …modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameter… in MethodDeclaration()
87 …modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameter… in MethodDeclaration()
95 …modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameter… in MethodDeclaration()
104 …t<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameter… in MethodDeclaration()
187 public MethodDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters()
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java24 import com.google.common.reflect.TypeParameter;
52 .where(new TypeParameter<K>() {}, keyType) in getMapOfListsToken()
53 .where(new TypeParameter<V>() {}, valueType); in getMapOfListsToken()
64 .where(new TypeParameter<K>() {}, keyType) in getMapOfSetsToken()
65 .where(new TypeParameter<V>() {}, valueType); in getMapOfSetsToken()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserTypeVariableDeclaration.java20 import com.github.javaparser.ast.type.TypeParameter;
44 private TypeParameter wrappedNode;
47 public JavaParserTypeVariableDeclaration(TypeParameter wrappedNode, TypeSolver typeSolver) { in JavaParserTypeVariableDeclaration()
179 public TypeParameter getWrappedNode() { in getWrappedNode()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DClassOrInterfaceDeclarationTransformationsTest.java30 import com.github.javaparser.ast.type.TypeParameter;
80 cid.addTypeParameter(new TypeParameter("T", new NodeList<>())); in addingTypeParameterWhenThereAreNone()
87 cid.getTypeParameters().addFirst(new TypeParameter("T", new NodeList<>())); in addingTypeParameterAsFirstWhenThereAreSome()
94 cid.addTypeParameter(new TypeParameter("T", new NodeList<>())); in addingTypeParameterAsLastWhenThereAreSome()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_expr_MethodReferenceExpr.txt19 Line 82) typeParameters ==> java.util.List<com.github.javaparser.ast.TypeParameter>
20 …6) this.typeParameters = typeParameters ==> java.util.List<com.github.javaparser.ast.TypeParameter>
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistTypeParameter.java33 private SignatureAttribute.TypeParameter wrapped;
37 …public JavassistTypeParameter(SignatureAttribute.TypeParameter wrapped, ResolvedTypeParametrizable… in JavassistTypeParameter()

12345