Uses of Interface
org.jboss.forge.roaster.model.Method
-
Packages that use Method Package Description org.jboss.forge.roaster.model org.jboss.forge.roaster.model.source -
-
Uses of Method in org.jboss.forge.roaster.model
Classes in org.jboss.forge.roaster.model with type parameters of type Method Modifier and Type Interface Description interfaceMethod<O extends JavaType<O>,T extends Method<O,T>>Represents a Java Method.Methods in org.jboss.forge.roaster.model that return Method Modifier and Type Method Description Method<O,?>Property. getAccessor()Get this property's accessor method.Method<O,?>MethodHolder. getMethod(String name)Return theMethodwith the given name and zero parameters; otherwise return null.Method<O,?>MethodHolder. getMethod(String name, Class<?>... paramTypes)Return theMethodwith the given name and signature types; otherwise return null.Method<O,?>MethodHolder. getMethod(String name, String... paramTypes)Return theMethodwith the given name and signature types; otherwise return null.Method<O,?>Property. getMutator()Get this property's mutator method.Methods in org.jboss.forge.roaster.model that return types with arguments of type Method Modifier and Type Method Description List<? extends Method<O,?>>MethodHolder. getMethods()Get aListof allMethods declared by thisMethodHolderinstance, if any; otherwise, return an emptyListMethods in org.jboss.forge.roaster.model with parameters of type Method Modifier and Type Method Description booleanMethodHolder. hasMethod(Method<O,?> name)Return true if thisMethodHolderhas a method with the given name and zero parameters; otherwise return false.booleanMethodHolder. hasMethodSignature(Method<?,?> method)Return true if thisMethodHolderhas a method with signature matching the given method's signature. -
Uses of Method in org.jboss.forge.roaster.model.source
Subinterfaces of Method in org.jboss.forge.roaster.model.source Modifier and Type Interface Description interfaceMethodSource<O extends JavaSource<O>>Represents a Java Method in source form.Methods in org.jboss.forge.roaster.model.source with parameters of type Method Modifier and Type Method Description MethodSource<O>MethodHolderSource. addMethod(Method<?,?> method)Add a newMethodSourcedeclaration to thisMethodHolderSourceinstance, using the givenMethodas the method declaration.OMethodHolderSource. removeMethod(Method<O,?> method)Remove the givenMethodSourcedeclaration from thisMethodHolderSourceinstance, if it exists; otherwise, do nothing.
-