Home
last modified time | relevance | path

Searched refs:ReferenceTypeImpl (Results 1 – 25 of 122) sorted by relevance

12345

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java48 private ReferenceTypeImpl listOfA;
49 private ReferenceTypeImpl listOfStrings;
50 private ReferenceTypeImpl linkedListOfString;
51 private ReferenceTypeImpl collectionOfString;
52 private ReferenceTypeImpl listOfWildcardExtendsString;
53 private ReferenceTypeImpl listOfWildcardSuperString;
54 private ReferenceTypeImpl object;
55 private ReferenceTypeImpl string;
61 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
62 …string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
[all …]
DPrimitiveTypeTest.java41 private ReferenceTypeImpl OBJECT;
42 private ReferenceTypeImpl STRING;
45 private ReferenceTypeImpl booleanBox;
46 private ReferenceTypeImpl characterBox;
47 private ReferenceTypeImpl byteBox;
48 private ReferenceTypeImpl shortBox;
49 private ReferenceTypeImpl integerBox;
50 private ReferenceTypeImpl longBox;
51 private ReferenceTypeImpl floatBox;
52 private ReferenceTypeImpl doubleBox;
[all …]
DArrayTypeTest.java43 private ReferenceTypeImpl OBJECT;
44 private ReferenceTypeImpl STRING;
51 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
52 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
56 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
59 arrayOfListOfStrings = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
61 …ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), t… in setup()
139 ResolvedArrayType arrayOfListOfObjects = new ResolvedArrayType(new ReferenceTypeImpl( in testReplaceParam()
149 assertEquals(new ReferenceTypeImpl( in testReplaceParam()
DWildcardUsageTest.java43 private ReferenceTypeImpl foo;
44 private ReferenceTypeImpl bar;
45 private ReferenceTypeImpl object;
46 private ReferenceTypeImpl string;
61 … foo = new ReferenceTypeImpl(new ReflectionClassDeclaration(Foo.class, typeSolver), typeSolver); in setup()
62 … bar = new ReferenceTypeImpl(new ReflectionClassDeclaration(Bar.class, typeSolver), typeSolver); in setup()
63 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
64 …string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
DNullTypeTest.java42 private ReferenceTypeImpl OBJECT;
43 private ReferenceTypeImpl STRING;
49 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
50 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
52 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
DVoidTypeTest.java42 private ReferenceTypeImpl OBJECT;
43 private ReferenceTypeImpl STRING;
49 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
50 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
52 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java10 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
35 public ReferenceTypeImpl getSuperClass() { in getSuperClass()
45 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(), typeSolver), ty… in getSuperClass()
47 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(), typeSolver), ty… in getSuperClass()
58 …interfaces.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration((Class<?>) ((Parameterized… in getInterfaces()
60 …interfaces.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration((Class<?>) superInterface,… in getInterfaces()
69 ReferenceTypeImpl superClass = getSuperClass(); in getAncestors()
72ReferenceTypeImpl object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, type… in getAncestors()
107 ReferenceTypeImpl superclass = getSuperClass(); in hasField()
157 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
[all …]
DMyObjectProvider.java7 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
23 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, new ReflectionTypeSolver… in object()
33 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in byName()
DReflectionInterfaceDeclaration.java31 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
71 return isAssignableBy(new ReferenceTypeImpl(other, typeSolver)); in isAssignableBy()
110 return new ReferenceTypeImpl(this, typeSolver); in getUsage()
207 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
208 ReferenceTypeImpl otherTypeDeclaration = (ReferenceTypeImpl) type; in isAssignableBy()
269 … res.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(i, typeSolver), typeSolver)); in getInterfacesExtended()
DReflectionMethodResolutionLogic.java27 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
64ReferenceTypeImpl objectClass = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class,… in solveMethod()
82 …typeParameterValues.add(new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSol… in solveMethodAsUsage()
106ReferenceTypeImpl objectClass = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class,… in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java39 public class ReferenceTypeImpl extends ReferenceType { class
42 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters()
49 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create()
54 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create()
57 public ReferenceTypeImpl(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() method in ReferenceTypeImpl
61 …public ReferenceTypeImpl(ReferenceTypeDeclaration typeDeclaration, List<Type> typeParameters, Type… in ReferenceTypeImpl() method in ReferenceTypeImpl
101 } else if (other instanceof ReferenceTypeImpl) { in isAssignableBy()
102 ReferenceTypeImpl otherRef = (ReferenceTypeImpl) other; in isAssignableBy()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java11 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
35 public ReferenceTypeImpl getSuperClass() { in getSuperClass()
45 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(), typeSolver), ty… in getSuperClass()
47 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(), typeSolver), ty… in getSuperClass()
58 …interfaces.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration((Class<?>) ((Parameterized… in getInterfaces()
60 …interfaces.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration((Class<?>) superInterface,… in getInterfaces()
69 ReferenceTypeImpl superClass = getSuperClass(); in getAncestors()
72ReferenceTypeImpl object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, type… in getAncestors()
157 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
158 ReferenceTypeImpl otherTypeDeclaration = (ReferenceTypeImpl) type; in isAssignableBy()
DMyObjectProvider.java7 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
23 …return new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, new ReflectionTypeSolver… in object()
33 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in byName()
DReflectionMethodResolutionLogic.java29 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
64ReferenceTypeImpl objectClass = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class,… in solveMethod()
82 …typeParameterValues.add(new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSol… in solveMethodAsUsage()
106ReferenceTypeImpl objectClass = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class,… in solveMethodAsUsage()
DReflectionInterfaceDeclaration.java36 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
76 return isAssignableBy(new ReferenceTypeImpl(other, typeSolver)); in isAssignableBy()
116 return new ReferenceTypeImpl(this, typeSolver); in getUsage()
214 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
215 ReferenceTypeImpl otherTypeDeclaration = (ReferenceTypeImpl) type; in isAssignableBy()
278 … res.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(i, typeSolver), typeSolver)); in getInterfacesExtended()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DSubtypeOfBoundTest.java8 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
24 …private ResolvedReferenceType iterableType = new ReferenceTypeImpl(new ReflectionTypeSolver().solv…
25 …private ResolvedReferenceType listType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveTyp…
26 …private ResolvedType integerType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Inte…
27 …private ResolvedType doubleType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Doubl…
28 …private ResolvedType objectType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Objec…
74 …ResolvedType iterableOfWildcard = new ReferenceTypeImpl(iterableType.getTypeDeclaration(), Arrays.… in recognizeProperUpperBound2()
75 …ResolvedType listOfBeta = new ReferenceTypeImpl(listType.getTypeDeclaration(), Arrays.asList(beta)… in recognizeProperUpperBound2()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java45 public class ReferenceTypeImpl extends ResolvedReferenceType { class
50 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters()
57 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create()
62 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create()
65 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() method in ReferenceTypeImpl
70 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> type… in ReferenceTypeImpl() method in ReferenceTypeImpl
111 } else if (other instanceof ReferenceTypeImpl) { in isAssignableBy()
112 ReferenceTypeImpl otherRef = (ReferenceTypeImpl) other; in isAssignableBy()
162 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in toRawType()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DFieldImpl.java34 FieldImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in FieldImpl()
58 ReferenceTypeImpl declaringType = (ReferenceTypeImpl)declaringType(); in compareTo()
72 ReferenceTypeImpl enclosing = (ReferenceTypeImpl)declaringType(); in findType()
DArrayTypeImpl.java36 public class ArrayTypeImpl extends ReferenceTypeImpl
121 ReferenceTypeImpl refSource = (ReferenceTypeImpl)source; in isComponentAssignable()
122 ReferenceTypeImpl refDestination = (ReferenceTypeImpl)destination; in isComponentAssignable()
DMethodImpl.java49 MethodImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in MethodImpl()
59 ReferenceTypeImpl declaringType, in createMethodImpl()
147 ReferenceTypeImpl enclosing = (ReferenceTypeImpl)declaringType(); in findType()
160 ReferenceTypeImpl enclosing = (ReferenceTypeImpl)declaringType(); in argumentType()
177 ReferenceTypeImpl declaringType = (ReferenceTypeImpl)declaringType(); in compareTo()
DVirtualMachineImpl.java306 ReferenceTypeImpl refType = (ReferenceTypeImpl)entry.getKey(); in redefineClasses()
373 ReferenceTypeImpl rti = (ReferenceTypeImpl)it.next(); in redefineClasses()
535 ReferenceTypeImpl[] rtArray = new ReferenceTypeImpl[classes.size()]; in instanceCounts()
539 rtArray[ii++] = (ReferenceTypeImpl)rti; in instanceCounts()
753 private synchronized ReferenceTypeImpl addReferenceType(long id, in addReferenceType()
759 ReferenceTypeImpl type = null; in addReferenceType()
807 ReferenceTypeImpl type = (ReferenceTypeImpl)iter.next(); in removeReferenceType()
839 ReferenceTypeImpl type = (ReferenceTypeImpl)iter.next(); in findReferenceTypes()
856 ReferenceTypeImpl referenceType(long ref, byte tag) { in referenceType()
872 ReferenceTypeImpl referenceType(long id, int tag, in referenceType()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/logic/
DFunctionInterfaceLogicTest.java21 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
37 …ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolve… in testGetFunctionalMethodNegativeCaseOnClass()
44 …ResolvedType function = new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(Function.class, t… in testGetFunctionalMethodPositiveCasesOnInterfaces()
47 …ResolvedType consumer = new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(Consumer.class, t… in testGetFunctionalMethodPositiveCasesOnInterfaces()
DInferenceContextTest.java24 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
54 …string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
55 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
64 …return new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(List.class, typeSolver), Immutable… in listOf()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DSwitchEntryContext.java29 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
50 if (type instanceof ReferenceTypeImpl) { in solveSymbol()
51 ReferenceTypeImpl typeUsageOfTypeDeclaration = (ReferenceTypeImpl) type; in solveSymbol()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DSwitchEntryContext.java28 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
50 if (type instanceof ReferenceTypeImpl) { in solveSymbol()
51 ReferenceTypeImpl typeUsageOfTypeDeclaration = (ReferenceTypeImpl) type; in solveSymbol()

12345