< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangInvokeAccess.java

Print this page

 45      */
 46     Class<?> getDeclaringClass(Object rmname);
 47 
 48     /**
 49      * Returns the {@code MethodType} for the given method descriptor
 50      * and class loader.
 51      * Used by {@code StackFrameInfo}.
 52      */
 53     MethodType getMethodType(String descriptor, ClassLoader loader);
 54 
 55     /**
 56      * Returns true if the given flags has MN_CALLER_SENSITIVE flag set.
 57      */
 58     boolean isCallerSensitive(int flags);
 59 
 60     /**
 61      * Returns true if the given flags has MN_HIDDEN_MEMBER flag set.
 62      */
 63     boolean isHiddenMember(int flags);
 64 






 65     /**
 66      * Returns a map of class name in internal forms to its corresponding
 67      * class bytes per the given stream of LF_RESOLVE and SPECIES_RESOLVE
 68      * trace logs. Used by GenerateJLIClassesPlugin to enable generation
 69      * of such classes during the jlink phase.
 70      */
 71     Map<String, byte[]> generateHolderClasses(Stream<String> traces);
 72 
 73     /**
 74      * Returns a var handle view of a given memory segment.
 75      * Used by {@code jdk.internal.foreign.LayoutPath} and
 76      * {@code java.lang.invoke.MethodHandles}.
 77      */
 78     VarHandle memorySegmentViewHandle(Class<?> carrier, long alignmentMask, ByteOrder order);
 79 
 80     /**
 81      * Var handle carrier combinator.
 82      * Used by {@code java.lang.invoke.MethodHandles}.
 83      */
 84     VarHandle filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget);

 45      */
 46     Class<?> getDeclaringClass(Object rmname);
 47 
 48     /**
 49      * Returns the {@code MethodType} for the given method descriptor
 50      * and class loader.
 51      * Used by {@code StackFrameInfo}.
 52      */
 53     MethodType getMethodType(String descriptor, ClassLoader loader);
 54 
 55     /**
 56      * Returns true if the given flags has MN_CALLER_SENSITIVE flag set.
 57      */
 58     boolean isCallerSensitive(int flags);
 59 
 60     /**
 61      * Returns true if the given flags has MN_HIDDEN_MEMBER flag set.
 62      */
 63     boolean isHiddenMember(int flags);
 64 
 65     /**
 66      * Returns true if the member of the given method handle is a null-restricted
 67      * field.
 68      */
 69     boolean isNullRestrictedField(MethodHandle mh);
 70 
 71     /**
 72      * Returns a map of class name in internal forms to its corresponding
 73      * class bytes per the given stream of LF_RESOLVE and SPECIES_RESOLVE
 74      * trace logs. Used by GenerateJLIClassesPlugin to enable generation
 75      * of such classes during the jlink phase.
 76      */
 77     Map<String, byte[]> generateHolderClasses(Stream<String> traces);
 78 
 79     /**
 80      * Returns a var handle view of a given memory segment.
 81      * Used by {@code jdk.internal.foreign.LayoutPath} and
 82      * {@code java.lang.invoke.MethodHandles}.
 83      */
 84     VarHandle memorySegmentViewHandle(Class<?> carrier, long alignmentMask, ByteOrder order);
 85 
 86     /**
 87      * Var handle carrier combinator.
 88      * Used by {@code java.lang.invoke.MethodHandles}.
 89      */
 90     VarHandle filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget);
< prev index next >