java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractUnboundModel<CodeElement>
org.glavo.classfile.impl.BufferedCodeBuilder.Model
- All Implemented Interfaces:
Iterable<CodeElement>,AttributedElement,ClassfileElement,CodeModel,CompoundElement<CodeElement>,MethodElement
- Enclosing class:
BufferedCodeBuilder
public final class BufferedCodeBuilder.Model
extends AbstractUnboundModel<CodeElement>
implements CodeModel
-
Method Summary
Modifier and TypeMethodDescriptionReturns the exception table of the method.intReturns the maximum size of the local variable table.intmaxStack()Returns the maximum size of the operand stack.parent()Returns the enclosing method, if known.toString()voidvoidwriteTo(DirectMethodBuilder builder) Methods inherited from class org.glavo.classfile.impl.AbstractUnboundModel
attributes, elementList, elementStream, forEachElementMethods inherited from class org.glavo.classfile.impl.AbstractElement
writeTo, writeTo, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glavo.classfile.AttributedElement
attributes, findAttribute, findAttributesMethods inherited from interface org.glavo.classfile.CompoundElement
elementList, elements, elementStream, forEachElement, iteratorMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
exceptionHandlers
Description copied from interface:CodeModelReturns the exception table of the method. The exception table is also modeled byExceptionCatchelements in the streaming view.- Specified by:
exceptionHandlersin interfaceCodeModel- Returns:
- the exception table of the method
-
maxLocals
public int maxLocals()Description copied from interface:CodeModelReturns the maximum size of the local variable table. -
maxStack
public int maxStack()Description copied from interface:CodeModelReturns the maximum size of the operand stack. -
parent
Description copied from interface:CodeModelReturns the enclosing method, if known. -
writeTo
- Overrides:
writeToin classAbstractElement
-
writeTo
-
toString
-