Uses of Interface
org.jboss.forge.parser.java.Method

Packages that use Method
org.jboss.forge.parser.java   
 

Uses of Method in org.jboss.forge.parser.java
 

Methods in org.jboss.forge.parser.java that return Method
 Method<T> MethodHolder.addMethod()
          Add an uninitialized Method declaration to this T instance.
 Method<T> MethodHolder.addMethod(String method)
          Add a new Method declaration to this T instance, using the given String as the method declaration.
 Method<O> Method.addThrows(Class<? extends Exception> type)
          Add a thrown Exception to this method's signature.
 Method<O> Method.addThrows(String type)
          Add a thrown Exception to this method's signature.
 Method<T> MethodHolder.getMethod(String name)
          Return the Method with the given name and zero parameters; otherwise return null.
 Method<T> MethodHolder.getMethod(String name, Class<?>... paramTypes)
          Return the Method with the given name and signature types; otherwise return null.
 Method<T> MethodHolder.getMethod(String name, String... paramTypes)
          Return the Method with the given name and signature types; otherwise return null.
 Method<O> Method.removeThrows(Class<? extends Exception> type)
          Remove a thrown Exception to this method's signature.
 Method<O> Method.removeThrows(String type)
          Remove a thrown Exception to this method's signature.
 Method<O> Method.setBody(String body)
          Set the inner body of this Method
 Method<O> Method.setConstructor(boolean constructor)
          Toggle this method as a constructor.
 Method<O> Method.setName(String name)
          Set the name of this Method
 Method<O> Method.setParameters(String string)
          Set this Method's parameters.
 Method<O> Method.setReturnType(Class<?> type)
          Set this Method to return the given type.
 Method<O> Method.setReturnType(JavaSource<?> type)
          Set this Method to return the given JavaSource type.
 Method<O> Method.setReturnType(String type)
          Set this Method to return the given type.
 Method<O> Method.setReturnTypeVoid()
          Set this Method to return 'void'
 

Methods in org.jboss.forge.parser.java that return types with arguments of type Method
 List<Method<T>> MethodHolder.getMethods()
          Get a List of all Methods declared by this T instance, if any; otherwise, return an empty List
 

Methods in org.jboss.forge.parser.java with parameters of type Method
 boolean MethodHolder.hasMethod(Method<T> name)
          Return true if this T has a method with the given name and zero parameters; otherwise return false.
 boolean MethodHolder.hasMethodSignature(Method<?> method)
          Return true if this T has a method with signature matching the given method's signature.
 T MethodHolder.removeMethod(Method<T> method)
          Remove the given Method declaration from this T instance, if it exists; otherwise, do nothing.
 



Copyright © 2011 Seam Framework. All Rights Reserved.