OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TypeParameter
(Results
1 - 25
of
94
) sorted by null
1
2
3
4
/external/guava/guava-tests/test/com/google/common/reflect/
TypeParameterTest.java
28
* Unit test for {@link
TypeParameter
}.
35
TypeVariable<?> variable = new
TypeParameter
<T>() {}.typeVariable;
44
new
TypeParameter
<String>() {};
53
new
TypeParameter
<A>() {}, new
TypeParameter
<A>() {})
54
.addEqualityGroup(new
TypeParameter
<B>() {})
59
new NullPointerTester().testAllPublicStaticMethods(
TypeParameter
.class);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
NodeWithTypeParameters.java
26
import com.github.javaparser.ast.type.
TypeParameter
;
37
NodeList<
TypeParameter
> getTypeParameters();
39
default
TypeParameter
getTypeParameter(int i) {
44
default N setTypeParameter(int i,
TypeParameter
typeParameter
) {
45
getTypeParameters().set(i,
typeParameter
);
50
default N addTypeParameter(
TypeParameter
typeParameter
) {
51
getTypeParameters().add(
typeParameter
);
55
N setTypeParameters(NodeList<
TypeParameter
> typeParameters)
[
all
...]
/external/guava/guava/src/com/google/common/reflect/
TypeParameter.java
35
* .where(new
TypeParameter
<T>() {}, elementType);
42
public abstract class
TypeParameter
<T> extends TypeCapture<T> {
46
protected
TypeParameter
() {
57
if (o instanceof
TypeParameter
) {
58
TypeParameter
<?> that = (
TypeParameter
<?>) o;
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
TypeParameter.java
39
* The
TypeParameter
is constructed following the syntax:<br>
42
*
TypeParameter
::= <IDENTIFIER> ( "extends" }{@link ClassOrInterfaceType}{@code ( "&" }{@link ClassOrInterfaceType}{@code )* )?
47
public final class
TypeParameter
extends ReferenceType<
TypeParameter
> implements NodeWithName<
TypeParameter
> {
55
public
TypeParameter
() {
58
public
TypeParameter
(final String name, final List<ClassOrInterfaceType> typeBound) {
63
public
TypeParameter
(Range range, final String name, final List<ClassOrInterfaceType> typeBound) {
69
public
TypeParameter
(Range range, String name, List<ClassOrInterfaceType> typeBound, List<AnnotationExpr> annotations) {
111
public
TypeParameter
setName(final String name)
[
all
...]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
MethodReferenceExpr.java
24
import com.github.javaparser.ast.
TypeParameter
;
44
private List<
TypeParameter
> typeParameters;
53
List<
TypeParameter
> typeParameters, String identifier) {
81
public List<
TypeParameter
> getTypeParameters() {
85
public void setTypeParameters(List<
TypeParameter
> typeParameters) {
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
TypeParameter.java
58
public final class
TypeParameter
extends ReferenceType implements NodeWithSimpleName<
TypeParameter
>, NodeWithAnnotations<
TypeParameter
> {
64
public
TypeParameter
() {
68
public
TypeParameter
(final String name) {
72
public
TypeParameter
(final String name, final NodeList<ClassOrInterfaceType> typeBound) {
80
public
TypeParameter
(Range range, final SimpleName name, final NodeList<ClassOrInterfaceType> typeBound) {
86
public
TypeParameter
(SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations) {
94
public
TypeParameter
(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations) {
135
public
TypeParameter
setName(final SimpleName name)
[
all
...]
Type.java
216
public
TypeParameter
asTypeParameter() {
217
throw new IllegalStateException(f("%s is not an
TypeParameter
", this));
281
public void ifTypeParameter(Consumer<
TypeParameter
> action) {
329
public Optional<
TypeParameter
> toTypeParameter() {
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
TypeParameterMetaModel.java
8
super(superBaseNodeMetaModel, com.github.javaparser.ast.type.
TypeParameter
.class, "
TypeParameter
", "com.github.javaparser.ast.type", false, false);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
TypeParameter.java
35
* The
TypeParameter
is constructed following the syntax:<br>
38
*
TypeParameter
::= <IDENTIFIER> ( "extends" }{@link ClassOrInterfaceType}{@code ( "&" }{@link ClassOrInterfaceType}{@code )* )?
43
public final class
TypeParameter
extends Node implements NamedNode {
51
public
TypeParameter
() {
54
public
TypeParameter
(final String name, final List<ClassOrInterfaceType> typeBound) {
59
public
TypeParameter
(final int beginLine, final int beginColumn, final int endLine, final int endColumn,
66
public
TypeParameter
(int beginLine, int beginColumn, int endLine,
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
ClassOrInterfaceDeclaration.java
25
import com.github.javaparser.ast.
TypeParameter
;
41
private List<
TypeParameter
> typeParameters;
58
final List<
TypeParameter
> typeParameters, final List<ClassOrInterfaceType> extendsList,
70
final List<
TypeParameter
> typeParameters, final List<ClassOrInterfaceType> extendsList,
95
public List<
TypeParameter
> getTypeParameters() {
117
public void setTypeParameters(final List<
TypeParameter
> typeParameters) {
ConstructorDeclaration.java
30
import com.github.javaparser.ast.
TypeParameter
;
46
private List<
TypeParameter
> typeParameters;
64
public ConstructorDeclaration(int modifiers, List<AnnotationExpr> annotations, List<
TypeParameter
> typeParameters,
76
List<AnnotationExpr> annotations, List<
TypeParameter
> typeParameters, String name,
133
public List<
TypeParameter
> getTypeParameters() {
164
public void setTypeParameters(List<
TypeParameter
> typeParameters) {
MethodDeclaration.java
27
import com.github.javaparser.ast.
TypeParameter
;
46
private List<
TypeParameter
> typeParameters;
79
final List<
TypeParameter
> typeParameters, final Type type, final String name,
94
final List<
TypeParameter
> typeParameters, final Type type, final String name,
160
public List<
TypeParameter
> getTypeParameters() {
200
public void setTypeParameters(final List<
TypeParameter
> typeParameters) {
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
ClassOrInterfaceDeclaration.java
26
import com.github.javaparser.ast.type.
TypeParameter
;
47
private List<
TypeParameter
> typeParameters;
66
final List<
TypeParameter
> typeParameters,
80
final List<
TypeParameter
> typeParameters,
112
public List<
TypeParameter
> getTypeParameters() {
156
public ClassOrInterfaceDeclaration setTypeParameters(final List<
TypeParameter
> typeParameters) {
ConstructorDeclaration.java
27
import com.github.javaparser.ast.type.
TypeParameter
;
53
private List<
TypeParameter
> typeParameters;
72
List<
TypeParameter
> typeParameters,
85
List<AnnotationExpr> annotations, List<
TypeParameter
> typeParameters, String name,
138
public List<
TypeParameter
> getTypeParameters() {
175
public ConstructorDeclaration setTypeParameters(List<
TypeParameter
> typeParameters) {
MethodDeclaration.java
36
import com.github.javaparser.ast.type.
TypeParameter
;
69
private List<
TypeParameter
> typeParameters;
106
final List<
TypeParameter
> typeParameters,
129
final List<
TypeParameter
> typeParameters,
208
public List<
TypeParameter
> getTypeParameters() {
268
public MethodDeclaration setTypeParameters(final List<
TypeParameter
> typeParameters) {
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
JavaParserTypeVariableDeclaration.java
20
import com.github.javaparser.ast.type.
TypeParameter
;
44
private
TypeParameter
wrappedNode;
47
public JavaParserTypeVariableDeclaration(
TypeParameter
wrappedNode, TypeSolver typeSolver) {
179
public
TypeParameter
getWrappedNode() {
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
ClassOrInterfaceDeclarationTransformationsTest.java
30
import com.github.javaparser.ast.type.
TypeParameter
;
80
cid.addTypeParameter(new
TypeParameter
("T", new NodeList<>()));
87
cid.getTypeParameters().addFirst(new
TypeParameter
("T", new NodeList<>()));
94
cid.addTypeParameter(new
TypeParameter
("T", new NodeList<>()));
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
JavassistTypeParameter.java
33
private SignatureAttribute.
TypeParameter
wrapped;
37
public JavassistTypeParameter(SignatureAttribute.
TypeParameter
wrapped, ResolvedTypeParametrizable container, TypeSolver typeSolver) {
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
ClassOrInterfaceDeclaration.java
39
import com.github.javaparser.ast.type.
TypeParameter
;
63
private NodeList<
TypeParameter
> typeParameters;
79
public ClassOrInterfaceDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final boolean isInterface, final SimpleName name, final NodeList<
TypeParameter
> typeParameters, final NodeList<ClassOrInterfaceType> extendedTypes, final NodeList<ClassOrInterfaceType> implementedTypes, final NodeList<BodyDeclaration<?>> members) {
87
public ClassOrInterfaceDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, boolean isInterface, SimpleName name, NodeList<
TypeParameter
> typeParameters, NodeList<ClassOrInterfaceType> extendedTypes, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members) {
119
public NodeList<
TypeParameter
> getTypeParameters() {
167
public ClassOrInterfaceDeclaration setTypeParameters(final NodeList<
TypeParameter
> typeParameters) {
252
typeParameters.set(i, (
TypeParameter
) replacementNode);
CallableDeclaration.java
36
import com.github.javaparser.ast.type.
TypeParameter
;
57
private NodeList<
TypeParameter
> typeParameters;
69
CallableDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter) {
77
public CallableDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter) {
172
public NodeList<
TypeParameter
> getTypeParameters() {
178
public T setTypeParameters(final NodeList<
TypeParameter
> typeParameters) {
375
typeParameters.set(i, (
TypeParameter
) replacementNode);
ConstructorDeclaration.java
34
import com.github.javaparser.ast.type.
TypeParameter
;
74
public ConstructorDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body) {
79
public ConstructorDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) {
87
public ConstructorDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) {
151
public ConstructorDeclaration setTypeParameters(final NodeList<
TypeParameter
> typeParameters) {
MethodDeclaration.java
36
import com.github.javaparser.ast.type.
TypeParameter
;
82
public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<
TypeParameter
> typeParameters, final Type type, final SimpleName name, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body) {
87
public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<
TypeParameter
> typeParameters, final Type type, final SimpleName name, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body, ReceiverParameter receiverParameter) {
95
public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<
TypeParameter
> typeParameters, final Type type, final SimpleName name, final boolean isDefault, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body) {
104
public MethodDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<
TypeParameter
> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) {
187
public MethodDeclaration setTypeParameters(final NodeList<
TypeParameter
> typeParameters) {
/external/caliper/caliper/src/main/java/com/google/caliper/json/
ImmutableMultimapTypeAdapterFactory.java
24
import com.google.common.reflect.
TypeParameter
;
52
.where(new
TypeParameter
<K>() {}, keyType)
53
.where(new
TypeParameter
<V>() {}, valueType);
64
.where(new
TypeParameter
<K>() {}, keyType)
65
.where(new
TypeParameter
<V>() {}, valueType);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
AbstractMethodLikeDeclarationContext.java
48
for (com.github.javaparser.ast.type.
TypeParameter
tp : wrappedNode.getTypeParameters()) {
74
for (com.github.javaparser.ast.type.
TypeParameter
tp : wrappedNode.getTypeParameters()) {
/external/google-fruit/include/fruit/impl/
injection_errors.h
278
template <typename
TypeParameter
, typename TypeOfValue>
280
static_assert(AlwaysFalse<
TypeParameter
>::value,
543
template <typename
TypeParameter
, typename TypeOfValue>
544
using apply = TypeMismatchInBindInstanceError<
TypeParameter
, TypeOfValue>;
Completed in 2604 milliseconds
1
2
3
4