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

Lib.Krakatau.java.javaclass.pyc Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
?
?HRc@s?ddlZddlmZddlmZddlmZmZmZddl	m
Z
dZd	?Zd
?Z
d?Zdd?ZdS(
i????Ni(tobjtypes(tparseFieldDescriptori(tasttast2t
javamethod(treserved_identifiersicCsp|j|d}|j|?}itjd6tjd6tjd6tjd6tjd6|}tj	||d?S(NitInttLongtFloattDoubletString(
tpooltgetArgsRtIntTTtLongTTtFloatTTtDoubleTTtStringTTRtLiteral(tcpooltindext
entry_typetargsttt((s>/home/alex/projects/github/krakatau/Krakatau/java/javaclass.pytloadConstValuescCs#gt|j?D]}|d	kr|j?^q}|j}tjt|dt?d?}d}|j	r?|j
j}g|jD]\}}|dkr?|^q?}	|	r?t
|	?dks?t?|	d}tjd|?d}
t||
?}q?ntjdj|?tj|?|j|?S(
Nt	SYNTHETICtENUMtunsynthesizeit
ConstantValueis>ht (s	SYNTHETICsENUM(tsortedtflagstlowert
descriptorRtverifierToSyntheticRtFalsetNonetstatictclass_Rt
attributestlentAssertionErrortstructtunpackRRtFieldDeftjoinRtTypeNametname(tfieldtxRtdesctdtypetinitexprRR/tdatatconst_attrsR((s>/home/alex/projects/github/krakatau/Krakatau/java/javaclass.pyt	_getFields4		.
cCs?yc|jdk	r||?nd}dG|jjd?G|jjd?GHtj|||?}|SWntk
r?}ts??n|j	j
dkr?d|jjGHndj|jj?GHtj|d|?}dj|?|_
|SXdS(NsDecompiling methodtutf8tDecompilationErrorsUnable to decompile sDecompiling {} failed!s
 {0!r}: {0!s}(tcodeR$R/tencodeR!RtgenerateASTt	ExceptiontIGNORE_EXCEPTIONSt	__class__t__name__R&tformattcomment(tmethodtcbtforbidden_identifierstgraphtcode_astte((s>/home/alex/projects/github/krakatau/Krakatau/java/javaclass.pyt
_getMethod%s!%cCsJ|dkr|jn
|j|g}tt?}x!|jD]}|j|j?q;Wt|?}gt|j	?D]}|dkrq|j
?^qq}d|j	k}	|j}
g|jD]}|j
jd|?^q?}g|jD]}
t|
?^q?}g|D]}t|||?^q}tjdj|?|	|j|
|||?S(	Nt	INTERFACEtSUPERRt
ANNOTATIONRtClassR(s	INTERFACEsSUPERs	SYNTHETICs
ANNOTATIONsENUM(R$tmethodstsetRtfieldstaddR/t	frozensetRRR t	supernametinterfaces_rawRtgetArgsCheckR7RIRtClassDefR-(tclsRDRCRNtfiR0RER1tmyflagstisInterfacetsupercRt
interfacestft
field_defstmtmethod_defs((s>/home/alex/projects/github/krakatau/Krakatau/java/javaclass.pyR<6s%4	+"%(R*tssaRtverifier.descriptorsRtRRRtreservedRR>RR7RIR$R<(((s>/home/alex/projects/github/krakatau/Krakatau/java/javaclass.pyts	
		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy