/libcore/ojluni/src/main/java/java/lang/ |
D | StackTraceElement.java | 57 private String declaringClass; field in StackTraceElement 88 public StackTraceElement(String declaringClass, String methodName, in StackTraceElement() argument 92 this.declaringClass = Objects.requireNonNull(declaringClass, "Declaring class is null"); in StackTraceElement() 242 return declaringClass; in getClassName() 397 e.declaringClass.equals(declaringClass) && in equals() 407 int result = 31*declaringClass.hashCode() + methodName.hashCode(); in hashCode()
|
D | StackFrameInfo.java | 44 private Class<?> declaringClass; // initialized by VM field in StackFrameInfo 71 Class<?> declaringClass() { in declaringClass() method in StackFrameInfo 74 return declaringClass; in declaringClass() 81 return declaringClass().getName(); in getClassName() 87 return declaringClass(); in getDeclaringClass()
|
D | StackStreamFactory.java | 565 return stackFrames[index].declaringClass(); in at() 833 return stackFrames[index].declaringClass(); in at()
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | StackRecorderUtil.java | 52 public void add(Class declaringClass, String methodName, String fileName) { in add() argument 53 testFrames.add(0, new TestFrame(declaringClass, methodName, fileName)); in add() 68 if (!tf.declaringClass.equals(sf.getDeclaringClass())) { in compareFrame() 70 tf.declaringClass.toString() + ", but got: " + in compareFrame() 122 public Class declaringClass; field in StackRecorderUtil.TestFrame 126 public TestFrame (Class declaringClass, String methodName, String fileName) { in TestFrame() argument 127 this.declaringClass = declaringClass; in TestFrame() 132 return declaringClass.getName(); in className()
|
D | StackWalkTest.java | 175 System.out.println("\t" + f.declaringClass + "." + f.methodName); in walk()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | ConstantBootstraps.java | 169 Class<?> declaringClass) { in getStaticFinal() argument 173 requireNonNull(declaringClass); in getStaticFinal() 177 mh = lookup.findStaticGetter(declaringClass, name, type); in getStaticFinal() 290 Class<?> declaringClass, Class<?> fieldType) { in fieldVarHandle() argument 294 requireNonNull(declaringClass); in fieldVarHandle() 301 return lookup.findVarHandle(declaringClass, name, fieldType); in fieldVarHandle() 324 Class<?> declaringClass, Class<?> fieldType) { in staticFieldVarHandle() argument 328 requireNonNull(declaringClass); in staticFieldVarHandle() 335 return lookup.findStaticVarHandle(declaringClass, name, fieldType); in staticFieldVarHandle()
|
D | VarHandle.java | 2396 ConstantDesc[] toBSMArgs(ClassDesc declaringClass, ClassDesc varType) { in toBSMArgs() argument 2398 case FIELD, STATIC_FIELD -> new ConstantDesc[]{declaringClass, varType}; in toBSMArgs() 2399 case ARRAY -> new ConstantDesc[]{declaringClass}; in toBSMArgs() 2406 private final ClassDesc declaringClass; field in VarHandle 2421 private VarHandleDesc(Kind kind, String name, ClassDesc declaringClass, ClassDesc varType) { in VarHandleDesc() argument 2424 kind.toBSMArgs(declaringClass, varType)); in VarHandleDesc() 2426 this.declaringClass = declaringClass; in VarHandleDesc() 2442 … public static VarHandleDesc ofField(ClassDesc declaringClass, String name, ClassDesc fieldType) { in ofField() argument 2443 Objects.requireNonNull(declaringClass); in ofField() 2446 return new VarHandleDesc(Kind.FIELD, name, declaringClass, fieldType); in ofField() [all …]
|
D | MethodHandleImpl.java | 162 final Class declaringClass = member.getDeclaringClass(); in reflectAs() local 164 (MethodHandle.class.isAssignableFrom(declaringClass) in reflectAs() 165 || VarHandle.class.isAssignableFrom(declaringClass))) { in reflectAs() 180 declaringClass, declaringClass, member.getModifiers(), member.getName()); in reflectAs()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | RecordComponents.java | 40 private final Class<?> declaringClass; field in RecordComponents 51 public RecordComponents(Class<?> declaringClass) { in RecordComponents() argument 52 this.declaringClass = declaringClass; in RecordComponents() 59 return declaringClass.getRecordAnnotationElement(name, array_class); in readElement()
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | StaticFieldVarHandle.java | 27 private final Class declaringClass; field in StaticFieldVarHandle 31 declaringClass = staticField.getDeclaringClass(); in StaticFieldVarHandle()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 63 private Class<?> declaringClass; field in Field 77 return declaringClass; in getDeclaringClass() 85 if (declaringClass.isProxy()) { in getName() 180 ClassLoader cl = declaringClass.getClassLoader(); in getGenericType() 182 parser.parseForField(declaringClass, signatureAttribute); in getGenericType()
|
D | Executable.java | 586 private Class<?> declaringClass; field in Executable 626 return declaringClass; in getDeclaringClassInternal()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | StackTraceElement.java | 34 java.lang.String declaringClass, in StackTraceElement() argument 74 private java.lang.String declaringClass; field in StackTraceElement
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 178 private java.lang.Class<?> declaringClass; field in Field
|
D | Executable.java | 224 private java.lang.Class<?> declaringClass; field in Executable
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | MethodTest.java | 568 Class<?> declaringClass = trueMethod.getDeclaringClass(); in testDefaultMethod_invoke() local 569 assertEquals(declaringClass.getName(), method.invoke(instance)); in testDefaultMethod_invoke()
|