public float readFloat() { return Float.intBitsToFloat(readInt()); }
public float readFloat() { return Float.intBitsToFloat(readInt()); }
public float readFloat() { return Float.intBitsToFloat(readInt()); }
public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { throw new IllegalStateException("Bad magic number: 0x" + Long.toHexString(magic)); } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { throw new IllegalStateException("Bad magic number: 0x" + Long.toHexString(magic)); } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { throw new IllegalStateException("Bad magic number: 0x" + Long.toHexString(magic)); } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
private static String getInternalNameFromClassFile(final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL; if (magic != 0xCAFEBABEL) { return null; } b.readUnsignedShort(); // minor version b.readUnsignedShort(); // major version final ConstantPool constantPool = ConstantPool.read(b); b.readUnsignedShort(); // access flags final ConstantPool.TypeInfoEntry thisClass = constantPool.getEntry(b.readUnsignedShort()); b.position(0); return thisClass.getName(); } }
public static TypeDefinition readClass(final int options, final IMetadataResolver resolver, final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL;
public static TypeDefinition readClass(final int options, final IMetadataResolver resolver, final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL;
public static TypeDefinition readClass(final int options, final IMetadataResolver resolver, final Buffer b) { final long magic = b.readInt() & 0xFFFFFFFFL;