< prev index next >

src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java

Print this page

1575                 return memberName.isNative();
1576             }
1577 
1578             @Override
1579             public Map<String, byte[]> generateHolderClasses(Stream<String> traces) {
1580                 return GenerateJLIClassesHelper.generateHolderClasses(traces);
1581             }
1582 
1583             @Override
1584             public void ensureCustomized(MethodHandle mh) {
1585                 mh.customize();
1586             }
1587 
1588             @Override
1589             public VarHandle memoryAccessVarHandle(Class<?> carrier, boolean skipAlignmentMaskCheck, long alignmentMask,
1590                                                    ByteOrder order) {
1591                 return VarHandles.makeMemoryAddressViewHandle(carrier, skipAlignmentMaskCheck, alignmentMask, order);
1592             }
1593 
1594             @Override
1595             public MethodHandle nativeMethodHandle(NativeEntryPoint nep, MethodHandle fallback) {
1596                 return NativeMethodHandle.make(nep, fallback);
1597             }
1598 
1599             @Override
1600             public VarHandle filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget) {
1601                 return VarHandles.filterValue(target, filterToTarget, filterFromTarget);
1602             }
1603 
1604             @Override
1605             public VarHandle filterCoordinates(VarHandle target, int pos, MethodHandle... filters) {
1606                 return VarHandles.filterCoordinates(target, pos, filters);
1607             }
1608 
1609             @Override
1610             public VarHandle dropCoordinates(VarHandle target, int pos, Class<?>... valueTypes) {
1611                 return VarHandles.dropCoordinates(target, pos, valueTypes);
1612             }
1613 
1614             @Override
1615             public VarHandle permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder) {
1616                 return VarHandles.permuteCoordinates(target, newCoordinates, reorder);

1575                 return memberName.isNative();
1576             }
1577 
1578             @Override
1579             public Map<String, byte[]> generateHolderClasses(Stream<String> traces) {
1580                 return GenerateJLIClassesHelper.generateHolderClasses(traces);
1581             }
1582 
1583             @Override
1584             public void ensureCustomized(MethodHandle mh) {
1585                 mh.customize();
1586             }
1587 
1588             @Override
1589             public VarHandle memoryAccessVarHandle(Class<?> carrier, boolean skipAlignmentMaskCheck, long alignmentMask,
1590                                                    ByteOrder order) {
1591                 return VarHandles.makeMemoryAddressViewHandle(carrier, skipAlignmentMaskCheck, alignmentMask, order);
1592             }
1593 
1594             @Override
1595             public MethodHandle nativeMethodHandle(NativeEntryPoint nep) {
1596                 return NativeMethodHandle.make(nep);
1597             }
1598 
1599             @Override
1600             public VarHandle filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget) {
1601                 return VarHandles.filterValue(target, filterToTarget, filterFromTarget);
1602             }
1603 
1604             @Override
1605             public VarHandle filterCoordinates(VarHandle target, int pos, MethodHandle... filters) {
1606                 return VarHandles.filterCoordinates(target, pos, filters);
1607             }
1608 
1609             @Override
1610             public VarHandle dropCoordinates(VarHandle target, int pos, Class<?>... valueTypes) {
1611                 return VarHandles.dropCoordinates(target, pos, valueTypes);
1612             }
1613 
1614             @Override
1615             public VarHandle permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder) {
1616                 return VarHandles.permuteCoordinates(target, newCoordinates, reorder);
< prev index next >