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

Lib.Krakatau.classfile.pyc Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
?
?HRc@s?ddlmZmZmZddlmZmZi
dd6dd6dd6dd6d	d
6d	d6dd
6dd6dd6dd6dd6d	d6dd6Zd?Zd?Z	d?Z
e	Ze
Zde
fd??YZdS(i(t
constant_pooltmethodtfield(tget_attributes_rawtfixAttributeNamess>iiis>qiis>Hiis>HHi	i
iis>BHiiicCs|jd?}|dks!t?d}|g}x?t|?|kr?|jd?}|dkr?|jd?}|j|?}||ff}n||jt|t?f}|j|?|dks?|dkr3|j|?q3q3Wt|?|ks?t?|S(Ns>HitBii(NN(tgettAssertionErrortNonetlentgetRawt
cp_structFmtstTruetappend(t
bytestreamtconst_counttplaceholdertpoolttagtlengthtdatatval((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pyt
get_cp_raws 	
cCs4|jd?\}}}t|?}||||fS(Ns>HHH(RR(Rtflagstnametdesct
attributes((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pyt
get_field_raw(scCs2|jd?}gt|?D]}t|?^qS(Ns>H(RtrangeR(Rtcountt_((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pytget_fields_raw-st	ClassFilecBs?eZidd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6Zd?Zd?Zed?Zd?ZRS(itPUBLICitFINALi tSUPERit	INTERFACEitABSTRACTit	SYNTHETICi t
ANNOTATIONi@tENUMitPRIVATEit	PROTECTEDitSTATICcs~|jd?\}}}|dks*t?||f|_t|?}|jd?\?|_|_|jd?}gt|?D]}|jd?^q|_t|?|_	t
|?|_gt|?D]$\}}	|	dd
fkr?|^q?}
t
||
?|_|j?dkst?t?fd?tjj?D??|_tj|?|_|jjd	|j?|_t|_dS(Ns>LHHI????s>HHHs>HitInnerClassesic3s%|]\}}|?@r|VqdS(N((t.0Rtmask(R(s9/home/alex/projects/github/krakatau/Krakatau/classfile.pys	WstClass(R,(RRtversionRtthistsuperRtinterfaces_rawRt
fields_rawtget_methods_rawtmethods_rawt	enumerateRtattributes_rawtsizetsetR tflagValstitemsRRt	ConstPooltcpooltgetArgsCheckRtFalsetelementsLoaded(tselfRtmagictminortmajortconst_pool_rawtinterface_countRtitxt
ic_indices((Rs9/home/alex/projects/github/krakatau/Krakatau/classfile.pyt__init__Es +7(cCs?||_|j|kst?|jr?|jjd|j?|_|jj|j?s}|jj|j||fdt	?n|jj
|j?|jf|_n*|dks?t?d|_|jf|_dS(NR/tpartialsjava/lang/Object(
tenvRRR2R>R?t	supernametisCachedtgetClassRt	getSuperst	hierarchyR(RBRMRt
subclasses((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pyt
loadSupers\s		&%	cCs?|jr
dSg|jD]}tj|||?^q|_g|jD]}tj|||?^qE|_t	|j
|j?|_|`|`|s?|`
nt
|_dS(N(RAR4RtFieldtfieldsR6RtMethodtmethodsRR8R>RR(RBtkeepRawtm((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pytloadElementsls	..	cCs|jS(N(RR(RB((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pytgetSuperclassHierarchyxs(t__name__t
__module__R;RKRTR@R[R\(((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pyR 5s

		N(tRRRR8RRRRRRtget_method_rawR5tobjectR (((s9/home/alex/projects/github/krakatau/Krakatau/classfile.pyts(

			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy