All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mozilla.classfile.ClassFileWriter.class Maven / Gradle / Ivy

The newest version!
????1?
??	???
?	??	??	??	??	???

?	??

?	??	??

?	??	???
?
?
?
?
??
??
??

?
?

?

?	???
#?	????
&
?	?	?	?
	?	?	
1?
?

?	?

	?	?
?	?	?	?
?
#	?	?	?
?
K
? 
?!
?"???#
?$
?%&'()*+
?,
?-

.

/0123
45

6
?7

8

9:
?;
?<
?=??
?>

?
?@A
?B?C
?C
DEFG

H
?IJ
?K
L
M
N
O
?P
?QRSTUVWX	?YZ???[\
?]	?^_
??`abcde
?f
?g
hi?

j
j
#j
?j????-
?k

l
m
l
#lno
p
qrstuvClassFileFormatExceptionInnerClasses
ACC_PUBLICS
ConstantValueACC_PRIVATE
ACC_PROTECTED
ACC_STATIC	ACC_FINALACC_SYNCHRONIZED ACC_VOLATILE@
ACC_TRANSIENT?
ACC_NATIVEACC_ABSTRACTLineNumberTableSizeIExceptionTableSizeFileHeaderConstantJ
DEBUGSTACKZDEBUGLABELS	DEBUGCODEgeneratedClassNameLjava/lang/String;itsExceptionTable,[Lorg/mozilla/classfile/ExceptionTableEntry;itsExceptionTableTopitsLineNumberTable[IitsLineNumberTableTop
itsCodeBuffer[BitsCodeBufferTopitsConstantPool$Lorg/mozilla/classfile/ConstantPool;itsCurrentMethod'Lorg/mozilla/classfile/ClassFileMethod;itsStackTopitsMaxStackitsMaxLocals
itsMethods!Lorg/mozilla/javascript/ObjArray;	itsFields
itsInterfacesitsFlagsitsThisClassIndexitsSuperClassIndexitsSourceFileNameIndexMIN_LABEL_TABLE_SIZE
itsLabelTableitsLabelTableTopMIN_FIXUP_TABLE_SIZE(
itsFixupTable[JitsFixupTableTopitsVarDescriptors
tmpCharBuffer[C9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VCodeLineNumberTableLocalVariableTablethis'Lorg/mozilla/classfile/ClassFileWriter;	classNamesuperClassNamesourceFileNamegetClassName()Ljava/lang/String;addInterface(Ljava/lang/String;)V
interfaceNameinterfaceIndexsetFlags(S)VflagsgetSlashedForm&(Ljava/lang/String;)Ljava/lang/String;nameclassNameToSignaturei
nameLengthcolonPosbufaddField((Ljava/lang/String;Ljava/lang/String;S)V	fieldNametypefieldNameIndex	typeIndex)(Ljava/lang/String;Ljava/lang/String;SI)Vvaluefield&Lorg/mozilla/classfile/ClassFileField;)(Ljava/lang/String;Ljava/lang/String;SJ)V)(Ljava/lang/String;Ljava/lang/String;SD)VDaddVariableDescriptor)(Ljava/lang/String;Ljava/lang/String;II)VstartPCregister	nameIndexdescriptorIndexchunkstartMethod
methodNamemethodNameIndex
stopMethodete+Lorg/mozilla/classfile/ExceptionTableEntry;endPC	handlerPC	catchTypelineNumberTableAttrIndextableAttrLengthlengthvariableTableAttrIndexvarCount	maxLocalslineNumberTableLengthvariableTableLength
attrLength
codeAttributeindex
codeAttrIndexattributeCountadd(I)V	theOpCodenewStack(II)VoffsettargetPCbranchPC
theOperandaddLoadConstantk(J)V(F)VF(D)V(III)VtheOperand1theOperand2(ILjava/lang/String;)V
classIndex:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V	fieldType
fieldTypeCharC	fieldSize
fieldRefIndex	addInvokeifMethodRefIndexmethodRefIndex
methodType
parameterInfoparameterCount	stackDiffaddPush(Z)VikslimitSBcursorisUnderStringSizeLimit(Ljava/lang/String;)Z	addIStorelocal	addLStore	addFStore	addDStore	addAStoreaddILoadaddLLoadaddFLoadaddDLoadaddALoadaddLoadThis()VxopshortOpopaddTableSwitch(II)Ilowhigh
entryCountpadSizeNswitchStartmarkTableSwitchDefaultmarkTableSwitchCase	caseIndexstackTopsetTableSwitchJump
caseOffset
jumpTargetacquireLabel()Itmptop	markLabellabel(IS)VmarkHandlertheLabel
getLabelPC(I)I
addLabelFixup	fixupSite
fixLabelGotosfixuppc
codeBuffergetCurrentCodeOffsetgetStackTop()SsetStackTopnadjustStackTopdeltaaddToCodeBufferbaddToCodeInt16addReservedCodeSpacenewSizesizeoldTopnewTopaddExceptionHandler(IIILjava/lang/String;)V
startLabelendLabelhandlerLabelcatchClassNamecatch_type_indexnewEntryaddLineNumberEntry
lineNumberwrite(Ljava/io/OutputStream;)VoStreamLjava/io/OutputStream;array
ExceptionswgetWriteSizetoByteArray()[BmethoddataSizedatasourceFileAttributeNameIndexputInt64(J[BI)IbadStacksizeOfParameters(Ljava/lang/String;)I	semicoloncokcountpStringrightParenthesisputInt16(I[BI)IputInt32opcodeCountopcodestackChangebytecodeStr(I)Ljava/lang/String;code
getCharBuffer(I)[CminimalSize
SourceFileClassFileWriter.java?x??org/mozilla/javascript/ObjArray??????????"org/mozilla/classfile/ConstantPool?x??yz????{z????java/lang/Short?B|}~7??java/lang/String??$org/mozilla/classfile/ClassFileField????????????%org/mozilla/classfile/ClassFileMethod??java/lang/IllegalStateExceptionNo method to stop?
?x????????????>org/mozilla/classfile/ClassFileWriter$ClassFileFormatException0generated bytecode for method exceeds 64K limit.?????????????????????start label not definedend label not definedhandler label not defined????????????"java/lang/IllegalArgumentExceptionUnexpected operands???C?CBad label for branch?C?Fout of range byteout of range shortout of range indexout of range fieldout of range variableUnexpected opcode for 1 operandBCBF????out of range incrementout of range dimensions Unexpected opcode for 2 operandsbad opcode for class reference??bad opcode for field reference????????bad opcode for method referenceKCcCKMKP??K
java/lang/StringBufferBT\V??append,(Ljava/lang/String;)Ljava/lang/StringBuffer;toString?kyQjava/lang/StringBuilderBad bounds: E?E?E?G???QBad stack index: Bad jump target: Bad case index: + is outside a possible range of tableswitch in already generated code' is not offset of tableswitch statementToo big case index: ??Bad label, no biscuit	Bad labelCan only mark label once?C??java/lang/RuntimeException(Program too complex: too big jump offsetNo method to add toBad startLabelBad endLabelBad handlerLabel)org/mozilla/classfile/ExceptionTableEntry???????????????Stack underflow: Too big stack: ???}Bad parameter signature: Bad opcode: %org/mozilla/classfile/ClassFileWriterjava/lang/Objectjava/io/IOException*(Lorg/mozilla/classfile/ClassFileWriter;)VaddClass(Ljava/lang/String;)SaddUtf8(Ljava/lang/Object;)Vreplace(CC)Ljava/lang/String;getChars(II[CI)V([CII)V(SSS)VaddConstant
setAttributes(SSSI)V(J)I(D)Ijava/lang/System	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V
itsStartLabelitsEndLabelitsHandlerLabelitsCatchTypeget(I)Ljava/lang/Object;setCodeAttribute([B)V(F)IcharAt(I)CaddFieldRef9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)SaddInterfaceMethodRefaddMethodRefgetUtfEncodingLimit(Ljava/lang/String;II)I	substring(II)Ljava/lang/String;isUnderUtfEncodingLimit-(Ljava/lang/String;)Ljava/lang/StringBuilder;(I)Ljava/lang/StringBuilder;(C)Ljava/lang/StringBuilder;(IIIS)Vjava/io/OutputStream([BI)I
shortValuelastIndexOfindexOf!??+??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????K????u*?*??*?Y??*?Y??*?Y??*@??*+?	*?
Y*??**?+?
?**?,?
?-?**?-??*??:U



#
.
6V;WGXSY_Zc[o\t]*uu?u?u??/*?	?a	
?_*?+?
=*??Y???o	pq ?	?
?>*??
????3	*./???	?	??L*?<`=`?N-LU-;U*-?6?-4.?	-/U????Y-`??.??	????!?*?3?9???4$?L?G?	C?=???(*?+?6*?,?6*??Y????
??'?>((?(?(?
????E*?+?6*?,?6?Y?:*??*???*????
??"?;?D?REE?E?E?E?
;?1?"# !"??	E*?+?6*?,?6?Y?:*??*?? ?*????
??"?;?D?REE?E?E?E?
;?1?"# !#??	E*?+?6*?,?6?Y?:*??*??!?*????
??"?;?D?REE?E?E?E$
;?1?"# !%&??H*?+?6*?,?6?
YOYOYOYO:*?"?*?Y??"*?"??

,
3>GRHH?H?H'?H(?
>)?4*?,+?,??0*?+?6*?,?6*?#Y?$?%*?*?%??
 !$#/$>00-?0?0?
&.??/??*?%?
?&Y'?(?*?)*?*=*?+?
*?,h`=>*?"?*?"?-
h`>*?.``*?/h````60?
?1Y2?3??:6*?4?6?56???66*?7?56*?*?56*?.?66*?*?.?8*?.`6*?/??*?/?566*?/??*?92:	*	?:?;?6
*	?6

?
?&Y??(??
?&Y@?(??
?&YA?(?
?56?56?56
?56???d?
?566*?+??*?"???56*?+?]*?B?6		?56*?,h`6

?66*?,?566*?,?*?+.?66????*?"??*?C?6		?56*?"?-6


h`6?66
?566
?r*?"?D?E?E:

.6
.6
.6
.6*?.d6?56?56?56?56?56????*?%?F*?9*?/*?,*?.*?%*?7*?G*?H*?I*?"?n[013578#<-?/@6DDG]SdWnZt[w\?]?^?_?`?a?b?c?e?g?h?i?jklm(n/o5p?qErOsUt_wjxuy?z?i?????????????????????????????!?(?3?>?G?P?[?f?p??????????????????????????????????????????01	{'?
o2?(c3?/\4?
?????O5?	?:6?
?X+?
?R)??L*??F'??@(??77?iv?3?8?	G?9?
P?6?:??;?/?<?]?=?t?>?w?????@??zA?BC??D?J?
?KYL?M?*?G?N`=?
???O*?P*??G*?7?	*??7?"????*?/?5?C? DDD?)E?BF?6?*?G?N`>?
???O??%??jjjjj6j7j8j9j:j?2?2?2?2?2?2?2?2?2?2?2?2?2?2?2?2?j???????2?2Q~Q??	R?
?KYS?M?*?.6*?PQ~Q?*?T?.*?;6?d6*?T?*`?U*?T???
?KYV?M?*?P*??P????
?KYW?M?*?P*?T???
?
?KYX?M?*?P*?P???	0?
?KYY?M?*?P*?T???	0?
?KYX?M???	??*?P?*?P*?T?W*?P*?P?J?	0?
?1YZ?3??*ķP*?P*?T?*?P*?P?
?KY[?M?*??G*?7?	*??7??=?
??L?U?_?i?o?t?}????????
????????????? ?!"	#$()&*++0,31>2H3[7a8j:o<w>|??A?N?O?P?Q?R?S?V?W?Y?\?`?a?fH?G??$H?oAI???D??J?
?E?KC??j?Z'/7?HQ*?\?<*?\?4*?\?,*?\?#*?\?*?\?**???]?&	n(o0p8q@rIsRt[viyjjL?KM?G**?? ?]?
??L?KN?G**?#?^?]?
??LOKP?G**?'?!?]?
??L$K
?G**?+?_?]?
??L?BQ???*?G?N`6????O??v?	0?
?1YZ?3??	0?
?1Y`?3?????	?*ķP*??P*?T*?T?n*ķP*??P*?P*?P?SŠB?	0?
?KYX?M??
?
?KYa?M?*ŷP*?T*?P?
?KYb?M?*??G*?7?
*??7?r???$?/?9?D?N?a?h?o?t?|???????????????????????????????4??D??R??S??E?BT??{*?G?N`>?
???O?B??*B*BB***?,?
6*?P*?T?
?KYc?M?*??G*?7?	*??7?.?
??D?N?S?Y?\?f?l?z?4NU?{{D?{?
qE?BV?^	?*?G?N`6?d6J?
D??6?3??))`6?d6?
?KYe?M?????O*?,-?f6*?P*?T*??G*?7?
*??7?B?(HOR
Y\
fx?????\	??D??????W??E??XY(?Z??#[?\V??
??g6|6?6*?G`6?N`6????O?e??    *?P??&*?,-?h6	*	?T*`?P*?P?#*?,-?i6	*	?T?
?KYj?M?*??G*?7?
*??7?V&'(*+%,7.X3]4d5q9w:;?<?>?A?D?G?J?K?Ppq]?	?^?	??D????-??_??`??a??b??E?cC??J??0?*?\?9??*`??\?$*??]???*??]?*?k?*
YZ[\](_3a9bDdIfJJL?cd?F*???\?
j
kL?cM?q?>???*?l*??\?*?m?tu
vwy{ L?e?cP??F'??*?\'o??4*w?\?+'??'n??*?\'??*w?\?*'?p?*
?????+?1?7?@?E?FFL$c
?P?+?=*?+?q>?	*+?r?s:*?s?t*Y?\*?l*?suv?w6*Y?\+?x:*?r*?syz?w*W?\??6*?+?q>???*?s{|?w?^???????(?.?3?@?C?I?R?X?e?k?p?s?v???????HR/f???L??7??g?sh?COi?jk?=	*?+?}??		L?lC?B
*;6?~?
?	?

m?nC?B
*?7?~?
?	?

m?oC?B
*C8?~?
?	?

m?pC?B
*G9?~?
?	?

m?qC?B
*K:?~?
?	?

m?rC?B
*?~?
	

m?sC?B
*?~?

	

m?tC?B
*"?~?
	

m?uC?B
*&?~?
!	"

m?vC?B
**?~?
+	,

m?wx?5**?\?
34yQ??M?E'1;*?\?'*`?\?*`?\?*`?\?	*?]?.8 :%;(=/>2@9A<CCDFFLH*MMz?M{?Mm?|}?q??'?1Y?Y??????? ???????3?*?G??N`>?
???Od`6*?.?~6*``h`??66*???T?*??T?????*??66*??6W*??G*?7?	*??7?JPQ)S5TDVKWUYfZj[v\{]?^?`?a?b?d?e?kR??~???5?E?Kr??Uh??fW??jS???C?C**?.???
p
q???F?M**?.???
u
v ?????Q??9?*?7??KY?Y??????????M?*??G**?.???{
|(}.~8*99??9??9???Q???*?.??KY?Y??????????M???KY?Y??????????M??~6?``6?```h`6?*?.ddd?#?KY?Y?????????????M??*?3~???KY?Y??????????M??`*?.??1Y?Y??????????3?d*??6W?B?
?(?-?H?O?S?^?l??????????????H[????????O???l???????T*?H<*???*????/*???* ?
???*???h?
M*??,?8*,??*`?H*??OQ??*
????'?1?<?A?H?O? 1??TO???C??D?
?KY??M??~<*?H?
?KY??M?*??.?
?&Y??(?*??*?.O?&	?????%?/?9?C?DD?????Q*??*?G???
? ?????C?G*?G*?????
??????t,?
?KY??M??~<*?H?
?KY??M?*??.??????%?,,???F?	?
?KY??M??~<*?H?
?KY??M?*?I>*???*????2*???*(???? *???h?:*???8*??*`?I*??? y??P?>?????%?*?:?A?L?W?c?i?p?~?4W??????*U???x?	r*?L=*?I?`*??/B! {?6!?6*??.6???Y???dd6??
?1Y??3?+z?T+`?T????*?I?B?????!?*?0?8?A?IS]f?lqRP??I??!E??*<??A%G?e?rm?????/*?.????/*?G???>*?G?
???C?y+*?G`=?
???O*??G*?7?	*??7?*# ++??$E??C?U*??=*??T?'() ??	???C?W*??=*??5W?-./ ???????T*?%?
?KY??M?*?.=`>*???-*??h6?6?:*??8*?*?.?234567#8,95:;;G<M>R?>,!??;??TT??>??:?????g	?Q~Q?
?KY??M?Q~Q?
?KY??M?Q~Q?
?KY??M???*??
6??Y??:*?/6?*???9?)*?9??h??:*?9?8*?9*?9S*`?/?JE	FGH&I/J9QMT[YaZf[q\{]?^?_?a?b?d\	????????????????M\??[N?1aH?????[*?%?
?KY'?M?*?,=?*?
?+?"*?+??h?
N*?+-?8*-?+*?+*?.x`O*`?,?2ghijk%l.m4n?oDqSrZs*4??[[??E?????Q*??M+,???~
? ?????????O?<*??
*???W?*???`6*??*???6?,??>*?,??>*?,?5>*?,?5>*?,?5>*??-,?5>6*??-?%*??D????6,?5>????*??-,?5>6*??-?*??D?:,??>????*??-,?5>6*??-?*??D?#:,??>????*??&,?5>,?5>,?6>*?,?5>?
,?5>???Y???,??#??	???? ?)?3?=?G?Q?^?m????????????????????????????
???)?0?5?=?p??a.?? !?(?????(??:??	6??4G?1?????U }?,?6>?,?6?
?? ???G?
?C?~8??Y?????????L??Y?????????L?&Y+?(???/? f?8?/	f?
????	V*?<*)??=?-*?d(?#?`?>666?h*?d?vB[~~{v~vv~{v/vvvvvv~vvvvvv~?>?????????m?*?d6[??*?d6????rBZwwwrwrrwwr?rrrrrrwrrrrrrw>????????Ȅ???*;??6`?	?>?`6?????*`?d?xB[??}x?xx?}x?xxxxxx?xx?xxx??>?	???xR~???KY?Y?????*?????M??.???'?)?,?/?2?8?????????????\^a%d&g'j(m.p/s0v1?2?5?6?8?9?=?> @"A%D(N+S/T;X\	???????)??,??/b?2	??V??Q7?J?????[+`|?T+`?T`?^
_` ???G????w)+`|?T+`|?T+`|?T+`?T`?e
fgh%i )?)??)G????q3???????KY?Y??????????M?q	;?CE3??????<? ?                                                    ???????????KY?Y??????????M?&	OR]???(!*<??
???-??	??????r$*???*??h=?=*??*??	?		?	?	?	? ??$$?????
1??	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy