org.openrdf.repository.object.composition
Class MethodBuilder

java.lang.Object
  extended by org.openrdf.repository.object.composition.CodeBuilder
      extended by org.openrdf.repository.object.composition.MethodBuilder

public class MethodBuilder
extends CodeBuilder

Used to build the Java method syntax.


Constructor Summary
protected MethodBuilder(ClassTemplate klass, javassist.CtMethod cm)
           
 
Method Summary
 MethodBuilder ann(Class<?> type, Class<?>... values)
           
 CodeBuilder end()
           
 
Methods inherited from class org.openrdf.repository.object.composition.CodeBuilder
assign, cast, castObject, clear, code, codeInstanceof, codeObject, construct, createClassMemberValue, declareObject, declareWrapper, descriptor, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insertMethod, insertObjectClass, length, semi, staticInvoke, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodBuilder

protected MethodBuilder(ClassTemplate klass,
                        javassist.CtMethod cm)
Method Detail

ann

public MethodBuilder ann(Class<?> type,
                         Class<?>... values)

end

public CodeBuilder end()
Specified by:
end in class CodeBuilder


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.