Home
last modified time | relevance | path

Searched refs:declaringType (Results 1 – 25 of 87) sorted by relevance

1234

/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DFieldImpl.java34 FieldImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in FieldImpl() argument
38 super(vm, declaringType, ref, name, signature, in FieldImpl()
45 return (declaringType().equals(other.declaringType())) && in equals()
58 ReferenceTypeImpl declaringType = (ReferenceTypeImpl)declaringType(); in compareTo() local
59 int rc = declaringType.compareTo(field.declaringType()); in compareTo()
61 rc = declaringType.indexOf(this) - in compareTo()
62 declaringType.indexOf(field); in compareTo()
72 ReferenceTypeImpl enclosing = (ReferenceTypeImpl)declaringType(); in findType()
100 buf.append(declaringType().name()); in toString()
DLocationImpl.java33 private final ReferenceTypeImpl declaringType; field in LocationImpl
46 this.declaringType = (ReferenceTypeImpl)method.declaringType(); in LocationImpl()
54 LocationImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in LocationImpl() argument
60 this.declaringType = declaringType; in LocationImpl()
97 public ReferenceType declaringType() { in declaringType() method in LocationImpl
98 return declaringType; in declaringType()
103 method = declaringType.getMethodMirror(methodRef); in method()
152 stratum.lineStratum(declaringType, baseLineNumber); in getLineInfo()
186 return sourceName(declaringType.stratum(stratumID)); in sourceName()
200 return sourcePath(declaringType.stratum(stratumID)); in sourcePath()
[all …]
DMethodImpl.java49 MethodImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in MethodImpl() argument
53 super(vm, declaringType, ref, name, signature, in MethodImpl()
59 ReferenceTypeImpl declaringType, in createMethodImpl() argument
67 return new NonConcreteMethodImpl(vm, declaringType, ref, in createMethodImpl()
72 return new ConcreteMethodImpl(vm, declaringType, ref, in createMethodImpl()
82 return (declaringType().equals(other.declaringType())) && in equals()
102 return allLineLocations(declaringType.stratum(stratumID), in allLineLocations()
116 return locationsOfLine(declaringType.stratum(stratumID), in locationsOfLine()
123 return new BaseLineInfo(-1, declaringType); in codeIndexToLineInfo()
147 ReferenceTypeImpl enclosing = (ReferenceTypeImpl)declaringType(); in findType()
[all …]
DBaseLineInfo.java32 private final ReferenceTypeImpl declaringType; field in BaseLineInfo
35 ReferenceTypeImpl declaringType) { in BaseLineInfo() argument
37 this.declaringType = declaringType; in BaseLineInfo()
50 return declaringType.baseSourceName(); in liSourceName()
55 return declaringType.baseSourcePath(); in liSourcePath()
DTypeComponentImpl.java39 protected final ReferenceTypeImpl declaringType; field in TypeComponentImpl
42 TypeComponentImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in TypeComponentImpl() argument
48 this.declaringType = declaringType; in TypeComponentImpl()
75 public ReferenceType declaringType() { in declaringType() method in TypeComponentImpl
76 return declaringType; in declaringType()
DConcreteMethodImpl.java84 ConcreteMethodImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, in ConcreteMethodImpl() argument
90 super(vm, declaringType, ref, name, signature, in ConcreteMethodImpl()
254 process(vm, declaringType, ref).bytes; in bytecodes()
293 declaringType.stratum(SDE.BASE_STRATUM_NAME); in getLocations()
299 stratum.lineStratum(declaringType, in getLocations()
358 lntab = JDWP.Method.LineTable.process(vm, declaringType, ref); in getBaseLocations()
396 new BaseLineInfo(lineNumber, declaringType)); in getBaseLocations()
444 process(vm, declaringType, ref); in getVariables1_4()
491 process(vm, declaringType, ref); in getVariables1()
DObsoleteMethodImpl.java41 ReferenceTypeImpl declaringType) { in ObsoleteMethodImpl() argument
42 super(vm, declaringType, 0, "<obsolete>", "", null, 0); in ObsoleteMethodImpl()
DNonConcreteMethodImpl.java47 ReferenceTypeImpl declaringType, in NonConcreteMethodImpl() argument
53 super(vm, declaringType, ref, name, signature, in NonConcreteMethodImpl()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DFieldId.java30 final TypeId<D> declaringType; field in FieldId
38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) { in FieldId() argument
39 if (declaringType == null || type == null || name == null) { in FieldId()
42 this.declaringType = declaringType; in FieldId()
46 this.constant = new CstFieldRef(declaringType.constant, nat); in FieldId()
50 return declaringType; in getDeclaringType()
64 && ((FieldId<?, ?>) o).declaringType.equals(declaringType) in equals()
70 return declaringType.hashCode() + 37 * name.hashCode(); in hashCode()
75 return declaringType + "." + name; in toString()
DMethodId.java32 final TypeId<D> declaringType; field in MethodId
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { in MethodId() argument
42 if (declaringType == null || returnType == null || name == null || parameters == null) { in MethodId()
45 this.declaringType = declaringType; in MethodId()
50 this.constant = new CstMethodRef(declaringType.constant, nat); in MethodId()
54 return declaringType; in getDeclaringType()
94 result.append(declaringType.name); in descriptor()
111 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
120 result = 31 * result + declaringType.hashCode(); in hashCode()
129 return declaringType + "." + name + "(" + parameters + ")"; in toString()
DAnnotationId.java70 private final TypeId<D> declaringType; field in AnnotationId
77 private AnnotationId(TypeId<D> declaringType, TypeId<V> type, ElementType annotatedElement) { in AnnotationId() argument
78 this.declaringType = declaringType; in AnnotationId()
92 public static <D, V> AnnotationId<D, V> get(TypeId<D> declaringType, TypeId<V> type, in get() argument
101 return new AnnotationId<>(declaringType, type, annotatedElement); in get()
133 if (!method.declaringType.equals(declaringType)) { in addToMethod()
137 ClassDefItem classDefItem = dexMaker.getTypeDeclaration(declaringType).toClassDefItem(); in addToMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_declarations_MethodLikeDeclaration.txt1 …Line 31) declaringType().getPackageName() ==> com.github.javaparser.symbolsolver.model.declaration…
2 …Line 31) declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeDecla…
3 …Line 38) declaringType().getClassName() ==> com.github.javaparser.symbolsolver.model.declarations.…
4 …Line 38) declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeDecla…
5 …Line 46) declaringType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declarati…
6 …Line 46) declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeDecla…
18 …Line 71) declaringType().getId() ==> com.github.javaparser.symbolsolver.model.declarations.TypeDec…
19 …Line 71) declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeDecla…
32 …Line 120) declaringType().findTypeParameter(name) ==> com.github.javaparser.symbolsolver.model.dec…
33 …Line 120) declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.MethodLikeDecl…
Dcom_github_javaparser_symbolsolver_model_declarations_ReferenceTypeDeclaration.txt39 …Line 119) getAllFields().stream().filter(f -> f.declaringType().equals(this) || f.accessLevel() !=…
40 …Line 119) getAllFields().stream().filter(f -> f.declaringType().equals(this) || f.accessLevel() !=…
43 Line 120) f.declaringType().equals(this) ==> java.lang.Object.equals(java.lang.Object)
44 …Line 120) f.declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.FieldDeclara…
59 …Line 142) getAllFields().stream().filter(it -> it.declaringType().getQualifiedName().equals(getQua…
60 …Line 142) getAllFields().stream().filter(it -> it.declaringType().getQualifiedName().equals(getQua…
63 …Line 142) it.declaringType().getQualifiedName().equals(getQualifiedName()) ==> java.lang.String.eq…
64 …Line 142) it.declaringType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.decla…
65 …Line 142) it.declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.FieldDeclar…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DDefaultConstructorDeclaration.java37 private N declaringType; field in DefaultConstructorDeclaration
39 DefaultConstructorDeclaration(N declaringType) { in DefaultConstructorDeclaration() argument
40 this.declaringType = declaringType; in DefaultConstructorDeclaration()
44 public N declaringType() { in declaringType() method in DefaultConstructorDeclaration
45 return declaringType; in declaringType()
60 return declaringType.getName(); in getName()
DJavaParserConstructorDeclaration.java36 private N declaringType; field in JavaParserConstructorDeclaration
40 …JavaParserConstructorDeclaration(N declaringType, com.github.javaparser.ast.body.ConstructorDeclar… in JavaParserConstructorDeclaration() argument
42 this.declaringType = declaringType; in JavaParserConstructorDeclaration()
48 public N declaringType() { in declaringType() method in JavaParserConstructorDeclaration
49 return declaringType; in declaringType()
67 return this.declaringType.getName(); in getName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DMethodLikeDeclaration.java31 return declaringType().getPackageName(); in getPackageName()
38 return declaringType().getClassName(); in getClassName()
46 return declaringType().getQualifiedName() + "." + this.getName(); in getQualifiedName()
71 return declaringType().getId() + "." + this.getSignature(); in getQualifiedSignature()
77 ReferenceTypeDeclaration declaringType(); in declaringType() method
120 return declaringType().findTypeParameter(name); in findTypeParameter()
/external/guice/core/src/com/google/inject/spi/
DInjectionPoint.java67 private final TypeLiteral<?> declaringType; field in InjectionPoint
70 InjectionPoint(TypeLiteral<?> declaringType, Method method, boolean optional) { in InjectionPoint() argument
72 this.declaringType = declaringType; in InjectionPoint()
74 this.dependencies = forMember(method, declaringType, method.getParameterAnnotations()); in InjectionPoint()
77 InjectionPoint(TypeLiteral<?> declaringType, Constructor<?> constructor) { in InjectionPoint() argument
79 this.declaringType = declaringType; in InjectionPoint()
82 forMember(constructor, declaringType, constructor.getParameterAnnotations()); in InjectionPoint()
85 InjectionPoint(TypeLiteral<?> declaringType, Field field, boolean optional) { in InjectionPoint() argument
87 this.declaringType = declaringType; in InjectionPoint()
95 key = Annotations.getKey(declaringType.getFieldType(field), field, annotations, errors); in InjectionPoint()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedMethodLikeDeclaration.java42 return declaringType().getPackageName(); in getPackageName()
49 return declaringType().getClassName(); in getClassName()
57 return declaringType().getQualifiedName() + "." + this.getName(); in getQualifiedName()
82 return declaringType().getId() + "." + this.getSignature(); in getQualifiedSignature()
88 ResolvedReferenceTypeDeclaration declaringType(); in declaringType() method
131 return declaringType().findTypeParameter(name); in findTypeParameter()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistFieldDeclaration.java47 …if (ctField.getGenericSignature() != null && declaringType() instanceof ResolvedTypeParametrizable… in getType()
49 …ignatureTypeToType(genericSignatureType, typeSolver, (ResolvedTypeParametrizable) declaringType()); in getType()
89 public ResolvedTypeDeclaration declaringType() { in declaringType() method in JavassistFieldDeclaration
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DClassOrInterfaceDeclarationContextResolutionTest.java351 assertEquals("A", ref.getCorrespondingDeclaration().declaringType().getName()); in solveMethodSimpleCase()
363 assertEquals("A", ref.getCorrespondingDeclaration().declaringType().getName()); in solveMethodOverrideCase()
375 assertEquals("Super", ref.getCorrespondingDeclaration().declaringType().getName()); in solveMethodInheritedCase()
389 assertEquals("A", ref.getCorrespondingDeclaration().declaringType().getName()); in solveMethodWithPrimitiveParameters()
403 assertEquals("A", ref.getCorrespondingDeclaration().declaringType().getName()); in solveMethodWithMoreSpecializedParameter()
427 assertEquals("A", ref.get().declaringType().getName()); in solveMethodAsUsageSimpleCase()
440 assertEquals("A", ref.get().declaringType().getName()); in solveMethodAsUsageOverrideCase()
453 assertEquals("Super", ref.get().declaringType().getName()); in solveMethodAsUsageInheritedCase()
468 assertEquals("A", ref.get().declaringType().getName()); in solveMethodAsUsageWithPrimitiveParameters()
483 assertEquals("A", ref.get().declaringType().getName()); in solveMethodAsUsageWithMoreSpecializedParameter()
DMethodCallExprContextResolutionTest.java81 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()); in solveNestedMethodCallExprContextWithoutScope()
102 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()); in assertCanSolveGenericMethodCallMustUseProvidedTypeArgs()
130 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()); in assertCanSolveGenericMethodCallCanInferFromArguments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_resolution_ConstructorResolutionLogic.txt59 …Line 117) typeParameters.addAll(constructor.declaringType().getTypeParameters()) ==> java.util.Lis…
60 …Line 117) constructor.declaringType().getTypeParameters() ==> com.github.javaparser.symbolsolver.m…
61 …ine 117) constructor.declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.Con…
87 …Line 175) winningCandidate.declaringType().getQualifiedName().equals(other.declaringType().getQual…
88 …Line 175) winningCandidate.declaringType().getQualifiedName() ==> com.github.javaparser.symbolsolv…
89 …75) winningCandidate.declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.Con…
90 …Line 176) other.declaringType().getQualifiedName() ==> com.github.javaparser.symbolsolver.model.de…
91 …Line 176) other.declaringType() ==> com.github.javaparser.symbolsolver.model.declarations.Construc…
/external/dagger2/java/dagger/internal/codegen/binding/
DMethodSignatureFormatter.java85 ExecutableElement method, ExecutableType methodType, TypeElement declaringType) {
100 builder.append(declaringType.getQualifiedName());
105 .append(declaringType.getQualifiedName())
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliPositionManager.java64 …public SourcePosition getSourcePosition(final String declaringType, String methodName, String meth… in getSourcePosition() argument
70 … return SmaliClassNameIndex.INSTANCE.get(declaringType, debugProcess.getProject(), in getSourcePosition()
96 return getSourcePosition(location.declaringType().name(), location.method().name(), in getSourcePosition()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DHelloWorldMaker.java61 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { in generateHelloMethod() argument
67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); in generateHelloMethod()

1234