50 typedef std::vector< unsigned char >::size_type
Branch;
51 typedef std::vector< unsigned char >::size_type
Position;
64 rtl::OString
const & type, rtl::OString
const & name,
65 rtl::OString
const & descriptor);
74 rtl::OString
const & type, rtl::OString
const & name,
75 rtl::OString
const & descriptor,
sal_uInt8 args);
78 rtl::OString
const & type, rtl::OString
const & name,
79 rtl::OString
const & descriptor);
82 rtl::OString
const & type, rtl::OString
const & name,
83 rtl::OString
const & descriptor);
86 rtl::OString
const & type, rtl::OString
const & name,
87 rtl::OString
const & descriptor);
90 Code const * defaultBlock,
91 std::vector< std::pair< sal_Int32, Code * > >
const & blocks);
93 void instrNew(rtl::OString
const & type);
98 rtl::OString
const & type, rtl::OString
const & name,
99 rtl::OString
const & descriptor);
102 rtl::OString
const & type, rtl::OString
const & name,
103 rtl::OString
const & descriptor);
109 Code const * defaultBlock, sal_Int32 low,
110 std::vector< std::unique_ptr<Code> >
const & blocks);
124 rtl::OString
const & type);
137 void ldc(sal_uInt16 index);
153 AccessFlags accessFlags, rtl::OString
const & thisClass,
154 rtl::OString
const & superClass, rtl::OString
const & signature);
158 std::unique_ptr<Code>
newCode();
168 AccessFlags accessFlags, rtl::OString
const & name,
169 rtl::OString
const & descriptor, sal_uInt16 constantValueIndex,
170 rtl::OString
const & signature);
173 AccessFlags accessFlags, rtl::OString
const & name,
174 rtl::OString
const & descriptor,
Code const * code,
175 std::vector< rtl::OString >
const & exceptions,
176 rtl::OString
const & signature);
181 typedef std::map< rtl::OString, sal_uInt16 >
Map;
187 sal_uInt16
addUtf8Info(rtl::OString
const & value);
192 rtl::OString
const & type, rtl::OString
const & name,
193 rtl::OString
const & descriptor);
196 rtl::OString
const & type, rtl::OString
const & name,
197 rtl::OString
const & descriptor);
200 rtl::OString
const & type, rtl::OString
const & name,
201 rtl::OString
const & descriptor);
204 rtl::OString
const & name, rtl::OString
const & descriptor);
207 std::vector< unsigned char > & stream, rtl::OString
const & signature);
void accessLocal(sal_uInt16 index, sal_uInt8 fastOp, sal_uInt8 normalOp)
void loadLocalReference(sal_uInt16 index)
void instrNew(rtl::OString const &type)
void ldc(sal_uInt16 index)
void instrPutstatic(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
sal_uInt16 m_exceptionTableLength
void instrInvokespecial(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
void instrInvokeinterface(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor, sal_uInt8 args)
void instrTableswitch(Code const *defaultBlock, sal_Int32 low, std::vector< std::unique_ptr< Code > > const &blocks)
void loadLocalFloat(sal_uInt16 index)
void instrGetstatic(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
void instrAnewarray(rtl::OString const &type)
Code & operator=(const Code &)=delete
void instrInvokestatic(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
void setMaxStackAndLocals(sal_uInt16 maxStack, sal_uInt16 maxLocals)
void instrInstanceof(rtl::OString const &type)
void instrLookupswitch(Code const *defaultBlock, std::vector< std::pair< sal_Int32, Code * > > const &blocks)
void loadLocalInteger(sal_uInt16 index)
void instrNewarray(codemaker::UnoType::Sort sort)
void instrCheckcast(rtl::OString const &type)
void loadLocalDouble(sal_uInt16 index)
void instrPutfield(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
void loadLocalLong(sal_uInt16 index)
std::vector< unsigned char > m_exceptionTable
void storeLocalReference(sal_uInt16 index)
void loadStringConstant(rtl::OString const &value)
std::vector< unsignedchar >::size_type Position
void addException(Position start, Position end, Position handler, rtl::OString const &type)
void branchHere(Branch branch)
std::vector< unsigned char > m_code
void instrInvokevirtual(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
void loadIntegerConstant(sal_Int32 value)
std::vector< unsignedchar >::size_type Branch
Position getPosition() const
Code(Code const &)=delete
std::map< double, sal_uInt16 > m_doubleInfos
sal_uInt16 m_interfacesCount
std::map< sal_Int64, sal_uInt16 > m_longInfos
ClassFile(ClassFile const &)=delete
sal_uInt16 m_methodsCount
std::vector< unsigned char > m_constantPool
std::vector< unsigned char > m_attributes
void addField(AccessFlags accessFlags, rtl::OString const &name, rtl::OString const &descriptor, sal_uInt16 constantValueIndex, rtl::OString const &signature)
std::vector< unsigned char > m_methods
std::map< sal_uInt16, sal_uInt16 > m_classInfos
std::map< rtl::OString, sal_uInt16 > m_utf8Infos
std::map< sal_uInt32, sal_uInt16 > m_methodrefInfos
ClassFile & operator=(const ClassFile &)=delete
void addMethod(AccessFlags accessFlags, rtl::OString const &name, rtl::OString const &descriptor, Code const *code, std::vector< rtl::OString > const &exceptions, rtl::OString const &signature)
sal_uInt16 addClassInfo(rtl::OString const &type)
sal_uInt16 addMethodrefInfo(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
std::map< sal_uInt32, sal_uInt16 > m_interfaceMethodrefInfos
sal_uInt16 addInterfaceMethodrefInfo(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
std::map< sal_uInt32, sal_uInt16 > m_nameAndTypeInfos
std::map< sal_uInt32, sal_uInt16 > m_fieldrefInfos
sal_uInt16 m_attributesCount
sal_uInt16 addUtf8Info(rtl::OString const &value)
sal_uInt16 addDoubleInfo(double value)
void appendSignatureAttribute(std::vector< unsigned char > &stream, rtl::OString const &signature)
sal_uInt16 addFieldrefInfo(rtl::OString const &type, rtl::OString const &name, rtl::OString const &descriptor)
sal_uInt16 addFloatInfo(float value)
std::map< rtl::OString, sal_uInt16 > Map
std::vector< unsigned char > m_fields
sal_uInt16 m_constantPoolCount
sal_uInt16 addLongInfo(sal_Int64 value)
sal_uInt16 addNameAndTypeInfo(rtl::OString const &name, rtl::OString const &descriptor)
std::map< float, sal_uInt16 > m_floatInfos
std::vector< unsigned char > m_interfaces
sal_uInt16 nextConstantPoolIndex(sal_uInt16 width)
sal_uInt16 addStringInfo(rtl::OString const &value)
AccessFlags m_accessFlags
void write(FileStream &file) const
ClassFile(AccessFlags accessFlags, rtl::OString const &thisClass, rtl::OString const &superClass, rtl::OString const &signature)
std::unique_ptr< Code > newCode()
std::map< sal_Int32, sal_uInt16 > m_integerInfos
sal_uInt16 addIntegerInfo(sal_Int32 value)
void addInterface(rtl::OString const &interface)
std::map< sal_uInt16, sal_uInt16 > m_stringInfos
Sort
An enumeration of all the sorts of relevant UNOIDL entities.