Package kala.compress.harmony.pack200
Class NewAttributeBands.Callable
- java.lang.Object
-
- kala.compress.harmony.pack200.NewAttributeBands.Callable
-
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
public class NewAttributeBands.Callable extends java.lang.Object implements NewAttributeBands.AttributeLayoutElement
-
-
Field Summary
Fields Modifier and Type Field Description private intbackwardsCallableIndexprivate java.util.List<NewAttributeBands.LayoutElement>bodyprivate booleanisBackwardsCallable
-
Constructor Summary
Constructors Constructor Description Callable(java.util.List<NewAttributeBands.LayoutElement> body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributeToBand(NewAttribute attribute, java.io.InputStream inputStream)voidaddBackwardsCall()java.util.List<NewAttributeBands.LayoutElement>getBody()booleanisBackwardsCallable()voidpack(java.io.OutputStream outputStream)voidrenumberBci(IntList bciRenumbering, java.util.Map<org.objectweb.asm.Label,java.lang.Integer> labelsToOffsets)voidsetBackwardsCallable()Tells this Callable that it is a backwards callablevoidsetBackwardsCallableIndex(int backwardsCallableIndex)
-
-
-
Field Detail
-
body
private final java.util.List<NewAttributeBands.LayoutElement> body
-
isBackwardsCallable
private boolean isBackwardsCallable
-
backwardsCallableIndex
private int backwardsCallableIndex
-
-
Constructor Detail
-
Callable
public Callable(java.util.List<NewAttributeBands.LayoutElement> body)
-
-
Method Detail
-
addAttributeToBand
public void addAttributeToBand(NewAttribute attribute, java.io.InputStream inputStream)
- Specified by:
addAttributeToBandin interfaceNewAttributeBands.AttributeLayoutElement
-
addBackwardsCall
public void addBackwardsCall()
-
getBody
public java.util.List<NewAttributeBands.LayoutElement> getBody()
-
isBackwardsCallable
public boolean isBackwardsCallable()
-
pack
public void pack(java.io.OutputStream outputStream) throws java.io.IOException, Pack200Exception- Specified by:
packin interfaceNewAttributeBands.AttributeLayoutElement- Throws:
java.io.IOExceptionPack200Exception
-
renumberBci
public void renumberBci(IntList bciRenumbering, java.util.Map<org.objectweb.asm.Label,java.lang.Integer> labelsToOffsets)
- Specified by:
renumberBciin interfaceNewAttributeBands.AttributeLayoutElement
-
setBackwardsCallable
public void setBackwardsCallable()
Tells this Callable that it is a backwards callable
-
setBackwardsCallableIndex
public void setBackwardsCallableIndex(int backwardsCallableIndex)
-
-