Uses of Class
org.fuin.srcgen4javassist.SgClass

Uses of SgClass in org.fuin.srcgen4javassist
 

Fields in org.fuin.srcgen4javassist declared as SgClass
static SgClass SgClass.BOOLEAN
          Simple "boolean" type.
static SgClass SgClass.BYTE
          Simple "byte" type.
static SgClass SgClass.CHAR
          Simple "char" type.
static SgClass SgClass.DOUBLE
          Simple "double" type.
static SgClass SgClass.FLOAT
          Simple "float" type.
static SgClass SgClass.INT
          Simple "int" type.
static SgClass SgClass.LONG
          Simple "long" type.
static SgClass SgClass.OBJECT
          Base "Object" type.
static SgClass SgClass.SHORT
          Simple "short" type.
static SgClass SgClass.VOID
          Simple "void" type.
 

Methods in org.fuin.srcgen4javassist that return SgClass
static SgClass SgClass.create(SgClassPool pool, java.lang.Class clasz)
          Creates a model class by analyzing the "real" class.
static SgClass SgClass.create(SgClassPool pool, java.lang.String className)
          Creates a model class by loading the "real" class with Class.forName(..)
 SgClass SgClass.findClassByName(java.lang.String name)
          Find an inner class by it's name.
 SgClass SgClassPool.get(java.lang.String className)
          Returns a class from the internal cache.
 SgClass SgClass.getEnclosingClass()
          Returns the enclosing class.
 SgClass SgField.getOwner()
          Returns the type this field belongs to.
 SgClass SgBehavior.getOwner()
          Returns the class the behavior belongs to.
 SgClass SgMethod.getReturnType()
          Return the return type of the method.
 SgClass SgClass.getSuperClass()
          Returns the super class.
 SgClass SgVariable.getType()
          Returns the type of the field.
 

Methods in org.fuin.srcgen4javassist that return types with arguments of type SgClass
 java.util.Map<java.lang.String,SgClass> SgAnnotation.getArguments()
          Returns the annotations arguments.
 java.util.List<SgClass> SgClass.getClasses()
          Returns a list of all inner class.
 java.util.List<SgClass> SgBehavior.getExceptions()
          Returns the list of exceptions thrown by the constructor/method.
 java.util.List<SgClass> SgClass.getInterfaces()
          Returns a list of all interfaces.
 

Methods in org.fuin.srcgen4javassist with parameters of type SgClass
 void SgAnnotation.addArgument(java.lang.String name, SgClass clasz)
          Adds an argument.
 void SgClass.addClass(SgClass clasz)
          Adds an inner to this class.
 void SgBehavior.addException(SgClass clasz)
          Adds an exception to the list.
 void SgClass.addInterface(SgClass intf)
          Add an interface to the class.
static void SgUtils.addToStringMethod(SgClassPool pool, SgClass clasz, java.util.List<SgField> fields)
          Creates an toString() method with all fields.
 java.lang.Class ByteCodeGenerator.createClass(SgClass modelClass)
          Generates the byte code for a model class and returns it.
 java.lang.Object ByteCodeGenerator.createInstance(SgClass clasz)
          Creates an instance from a model class with it's no argument constructor and maps all exceptions into RuntimeException.
 java.lang.Object ByteCodeGenerator.createInstance(SgClass clasz, java.lang.Class[] argTypes, java.lang.Object[] initArgs)
          Creates an instance from a model class mapping all exceptions into RuntimeException.
 java.lang.Class ByteCodeGenerator.loadClass(SgClass modelClass)
          Tries to load the model class calling Class.forName(..)
 void SgClassPool.put(SgClass clasz)
          Adds a class to the internal cache.
 

Constructors in org.fuin.srcgen4javassist with parameters of type SgClass
SgArgument(SgBehavior owner, SgClass type, java.lang.String name)
          Constructor with type and name.
SgArgument(SgBehavior owner, java.lang.String modifiers, SgClass type, java.lang.String name)
          Constructor with type and name.
SgBehavior(SgClass owner, java.lang.String modifiers)
          Constructor with class and modifiers.
SgClass(java.lang.String modifiers, java.lang.String packageName, java.lang.String simpleName, boolean isinterface, SgClass enclosingClass)
          Constructor without super class.
SgClass(java.lang.String modifiers, java.lang.String packageName, java.lang.String simpleName, SgClass superClass, boolean isinterface, SgClass enclosingClass)
          Constructor with super class.
SgConstructor(SgClass owner)
          Constructor with class.
SgConstructor(SgClass owner, java.lang.String modifiers)
          Constructor with class and modifiers.
SgField(SgClass owner, java.lang.String modifiers, SgClass type, java.lang.String name, java.lang.String initializer)
          Constructor with modifiers, class and name.
SgMethod(SgClass owner, java.lang.String modifiers, SgClass returnType, java.lang.String name)
          Constructor.
SgVariable(java.lang.String modifiers, SgClass type, java.lang.String name)
          Constructor with modifiers, class and name.
 



Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.