Uses of Class
gnu.bytecode.Method
Packages that use Method
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files.Supports
Expression,
and various related classes need to compile programming languages.-
Uses of Method in gnu.bytecode
Fields in gnu.bytecode declared as MethodModifier and TypeFieldDescriptionstatic final MethodType.booleanValue_methodstatic final MethodType.clone_methodClassType.constructorstatic final MethodType.doubleValue_methodstatic final MethodType.floatValue_methodstatic final MethodType.intValue_methodstatic final MethodType.longValue_methodstatic final MethodType.toString_methodMethods in gnu.bytecode that return MethodModifier and TypeMethodDescriptionClassType.addMethod(Constructor method) Add a method to this ClassType.ClassType.checkSingleAbstractMethod()Check to see if this is a Single Abstract Method (SAM) type.Method[]ClassType.getAbstractMethods()ClassType.getDeclaredMethod(String name, int argCount) Get a method with matching name and number of arguments.ClassType.getDeclaredMethod(String name, Type[] arg_types) Look for a matching method.SpecialObjectType.getDeclaredMethod(String name, int argCount) final MethodClassType.getDeclaredMethods()ClassType.getDeclaredStaticMethod(String name, int argCount) Get a static method with matching name and number of arguments.ClassType.getDefaultConstructor()Method[]ClassType.getMatchingMethods(String name, Type[] paramTypes, int flags) Add a method to this ClassType.Looks for a method matching the name and types.final MethodCodeAttr.getMethod()final MethodLocalVarsAttr.getMethod()StackMapTableAttr.getMethod()final MethodClassType.getMethods()Get the methods of this class.Method[]ClassType.getMethods(Filter filter, boolean searchSupers) Method[]ClassType.getMethods(Filter filter, int searchSupers) Get methods matching a given filter.final MethodMethod.getNext()Methods in gnu.bytecode with parameters of type MethodModifier and TypeMethodDescriptionConstantPool.addMethodHandle(Method method) ConstantPool.addMethodRef(Method method) ConstantPool.addNameAndType(Method method) voidCodeAttr.emitInvoke(Method method) voidCodeAttr.emitInvokeInterface(Method method) voidCodeAttr.emitInvokeMethod(Method method, int opcode) voidCodeAttr.emitInvokeSpecial(Method method) voidCodeAttr.emitInvokeStatic(Method method) Compile a static method call.voidCodeAttr.emitInvokeVirtual(Method method) Compile a virtual method call.final voidCodeAttr.emitPushMethodHandle(Method method) Push a MethodHandle, using an appropriate constant pool entry.intClassType.getMethods(Filter filter, int searchSupers, Method[] result, int offset) Deprecated.voidClassTypeWriter.printMethod(Method method) Method parameters in gnu.bytecode with type arguments of type MethodModifier and TypeMethodDescriptionintArrayType.getMethods(Filter filter, int searchSupers, List<Method> result) intClassType.getMethods(Filter filter, int searchSupers, List<Method> result) Helper to get methods satisfying a filtering predicate.intObjectType.getMethods(Filter filter, int searchSupers, List<Method> result) intSpecialObjectType.getMethods(Filter filter, int searchSupers, List<Method> result) Constructors in gnu.bytecode with parameters of type MethodModifierConstructorDescriptionExceptionsAttr(Method meth) Add a new ExceptionsAttr to a Method.LocalVarsAttr(Method method) Create, but don't link into method.code's attributes list (yet).A copy constructor, except you can override the declaring class. -
Uses of Method in gnu.expr
Modifier and TypeFieldDescriptionstatic MethodCompilation.apply0methodstatic MethodCompilation.apply1methodstatic MethodCompilation.apply2methodstatic MethodCompilation.apply3methodstatic MethodCompilation.apply4methodstatic MethodCompilation.applyCpsMethodstatic Method[]Compilation.applymethodsstatic MethodCompilation.applyNmethodstatic MethodCompilation.getCallContextInstanceMethodstatic MethodCompilation.getCurrentEnvironmentMethodstatic final MethodCompilation.getNextArgMethodDeclaration.getterMethodstatic final MethodConditionalTarget.isTrueMethodCompilation.methodThe current method.Declaration.setterMethodModifier and TypeMethodDescriptionprotected MethodClassExp.findMethodForBridge(String mname, Type[] ptypes, Type rtype) Finds a like-named method suitable for bridging the given arg/return types (i.e.Compilation.generateCheckMethod(LambdaExp lexp, LambdaExp parent) static final MethodCompilation.getConstructor(ClassType clas, LambdaExp lexp) final MethodCompilation.getConstructor(LambdaExp lexp) Compilation.getForNameHelper()Generate a method to find a named Class without initializing it.final MethodLambdaExp.getMainMethod()Get the method that contains the actual body of the procedure.final MethodLambdaExp.getMethod(int nonSpliceCount, int spliceCount) Select the method used given an argument count.PrimProcedure.getMethod()static MethodBindingInitializer.makeLocationMethod(Object name) Modifier and TypeMethodDescriptionstatic voidApplyExp.compileArgsToContext(ApplyExp exp, Method setupMethod, Compilation comp) static voidPrimProcedure.compileInvoke(Compilation comp, Method method, Target target, boolean isTailCall, int op_code, Type returnType, boolean doFixUnsigned) Emit the actual invoke operation, after arguments have been pushed.static voidConsumerTarget.compileUsingConsumer(Expression exp, Compilation comp, Target target, Method makeMethod, Method resultMethod) final voidClassExp.generateBridgeMethod(Compilation comp, Method src_method, Type[] bridge_arg_types, Type bridge_return_type) Given an existing method and a desired bridge method signature, generates an appropriate bridge method.voidPrimProcedure.setMethodForInvoke(Method m) static booleanPrimProcedure.takesContext(Method method) static booleanPrimProcedure.takesVarArgs(Method method) ModifierConstructorDescriptionApplyExp(Method m, Expression... a) PrimProcedure(Method method) PrimProcedure(Method method, char mode, Language language, ParameterizedType parameterizedType) PrimProcedure(Method method, Type retType, Type[] argTypes) PrimProcedure(Method method, LambdaExp source) PrimProcedure(Method method, Language language) -
Uses of Method in gnu.kawa.functions
Methods in gnu.kawa.functions with parameters of type MethodModifier and TypeMethodDescriptionstatic voidValuesMap.compileInlined(LambdaExp lambda, Expression vals, int startCounter, Method matchesMethod, Compilation comp, Target target) -
Uses of Method in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr that return Method -
Uses of Method in gnu.kawa.xml
Fields in gnu.kawa.xml declared as MethodModifier and TypeFieldDescriptionstatic final MethodSortNodes.canonicalizeMethodstatic final MethodCoerceNodes.makeNodesMethodstatic final MethodSortNodes.makeSortedNodesMethod -
Uses of Method in gnu.xquery.util
Fields in gnu.xquery.util declared as Method -
Uses of Method in kawa.lang