Home
last modified time | relevance | path

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

1234

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java40 private ReferenceTypeImpl listOfA;
41 private ReferenceTypeImpl listOfStrings;
42 private ReferenceTypeImpl linkedListOfString;
43 private ReferenceTypeImpl collectionOfString;
44 private ReferenceTypeImpl listOfWildcardExtendsString;
45 private ReferenceTypeImpl listOfWildcardSuperString;
46 private ReferenceTypeImpl object;
47 private ReferenceTypeImpl string;
53 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
54 …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.java44 private ReferenceTypeImpl OBJECT;
45 private ReferenceTypeImpl STRING;
52 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
53 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
57 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
60 arrayOfListOfStrings = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
62 …ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), t… in setup()
140 ResolvedArrayType arrayOfListOfObjects = new ResolvedArrayType(new ReferenceTypeImpl( in testReplaceParam()
150 assertEquals(new ReferenceTypeImpl( in testReplaceParam()
DWildcardUsageTest.java42 private ReferenceTypeImpl foo;
43 private ReferenceTypeImpl bar;
44 private ReferenceTypeImpl object;
45 private ReferenceTypeImpl string;
60 … foo = new ReferenceTypeImpl(new ReflectionClassDeclaration(Foo.class, typeSolver), typeSolver); in setup()
61 … bar = new ReferenceTypeImpl(new ReflectionClassDeclaration(Bar.class, typeSolver), typeSolver); in setup()
62 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
63 …string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
DVoidTypeTest.java41 private ReferenceTypeImpl OBJECT;
42 private ReferenceTypeImpl STRING;
48 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
49 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
51 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
DNullTypeTest.java41 private ReferenceTypeImpl OBJECT;
42 private ReferenceTypeImpl STRING;
48 …OBJECT = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup()
49 …STRING = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup()
51 arrayOfListOfA = new ResolvedArrayType(new ReferenceTypeImpl( in setup()
/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()
107 ReferenceTypeImpl superclass = getSuperClass(); in hasField()
157 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
[all …]
DReflectionInterfaceDeclaration.java33 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
72 return isAssignableBy(new ReferenceTypeImpl(other, typeSolver)); in isAssignableBy()
111 return new ReferenceTypeImpl(this, typeSolver); in getUsage()
209 if (type instanceof ReferenceTypeImpl) { in isAssignableBy()
210 ReferenceTypeImpl otherTypeDeclaration = (ReferenceTypeImpl) type; in isAssignableBy()
271 … res.add(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(i, typeSolver), typeSolver)); in getInterfacesExtended()
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()
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()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java44 public class ReferenceTypeImpl extends ResolvedReferenceType { class
49 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters()
56 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create()
61 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create()
64 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() method in ReferenceTypeImpl
69 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> type… in ReferenceTypeImpl() method in ReferenceTypeImpl
110 } else if (other instanceof ReferenceTypeImpl) { in isAssignableBy()
111 ReferenceTypeImpl otherRef = (ReferenceTypeImpl) other; in isAssignableBy()
161 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in toRawType()
/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/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 …]
DReferenceTypeImpl.java33 public abstract class ReferenceTypeImpl extends TypeImpl class
75 protected ReferenceTypeImpl(VirtualMachine aVm, long aRef) { in ReferenceTypeImpl() method in ReferenceTypeImpl
127 if ((obj != null) && (obj instanceof ReferenceTypeImpl)) { in equals()
128 ReferenceTypeImpl other = (ReferenceTypeImpl)obj; in equals()
149 ReferenceTypeImpl other = (ReferenceTypeImpl)object; in compareTo()
393 ReferenceTypeImpl type = (ReferenceTypeImpl)iter.next(); in visibleFields()
424 ReferenceTypeImpl type = (ReferenceTypeImpl)iter.next(); in addAllFields()
608 ReferenceTypeImpl declType = (ReferenceTypeImpl)field.declaringType(); in validateFieldAccess()
1096 return ((ReferenceTypeImpl)type).isAssignableTo(this); in isAssignableFrom()
DObjectReferenceImpl.java181 ((ReferenceTypeImpl)referenceType()).validateFieldAccess(field); in getValues()
236 ((ReferenceTypeImpl)referenceType()).validateFieldSet(field); in setValue()
284 ReferenceTypeImpl declType = (ReferenceTypeImpl)method.declaringType(); in validateMethodInvocation()
608 ReferenceType destType = (ReferenceTypeImpl)destination.type(); in validateAssignment()
609 ReferenceTypeImpl myType = (ReferenceTypeImpl)referenceType(); in validateAssignment()
DBaseLineInfo.java32 private final ReferenceTypeImpl declaringType;
35 ReferenceTypeImpl declaringType) { in BaseLineInfo()
/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/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionInterfaceDeclarationTest.java26 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
80 …assertEquals(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(Collection.class, typeResolv… in testAllAncestors()
81 …assertEquals(new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeResolver), typ… in testAllAncestors()
82 …assertEquals(new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(Iterable.class, typeResolver… in testAllAncestors()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistFactory.java44 return new ReferenceTypeImpl(new JavassistInterfaceDeclaration(ctClazz, typeSolver), in typeUsageFor()
47 return new ReferenceTypeImpl(new JavassistEnumDeclaration(ctClazz, typeSolver), in typeUsageFor()
50 return new ReferenceTypeImpl(new JavassistClassDeclaration(ctClazz, typeSolver), in typeUsageFor()
DJavassistClassDeclaration.java31 import com.github.javaparser.symbolsolver.model.typesystem.ReferenceTypeImpl;
73 … return new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName()), typeSolver); in object()
88 return isAssignableBy(new ReferenceTypeImpl(other, typeSolver)); in isAssignableBy()
223 return new ReferenceTypeImpl(this, typeSolver); in getUsage()
296 … return new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName()), typeSolver); in getSuperClass()
299 …return new ReferenceTypeImpl(new JavassistClassDeclaration(ctClass.getSuperclass(), typeSolver), t… in getSuperClass()
317 .map(i -> new ReferenceTypeImpl(i, typeSolver)) in getInterfaces()

1234