private MethodCode getGetDescriptorMethodCode ( ) { String descriptorClsName = ClassHelper . getInternalName ( Descriptor . class . getCanonicalName ( ) ) ; MethodCode mc = new MethodCode ( ) ; mc . setName ( "getDescriptor" ) ; mc . setReturnType ( descriptorClsName ) ; mc . setScope ( ClassCode . SCOPE_PUBLIC ) ; mc . addException ( "IOException" ) ; String methodSource = CodeTemplate . descriptorMethodSource ( cls ) ; mc . appendLineCode0 ( methodSource ) ; return mc ; }
Gets the gets the descriptor method code .