InvokeDynamicInfo getInvokeDynamicInfo( final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { _lookupKey.set(Tag.InvokeDynamicInfo, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); Entry entry = _entryMap.get(_lookupKey); if (entry == null) { entry = new InvokeDynamicInfo(this, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); } _lookupKey.clear(); return (InvokeDynamicInfo)entry; }
public InvokeDynamicInfo( final ConstantPool owner, final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { super(owner); this.bootstrapMethodAttributeIndex = bootstrapMethodAttributeIndex; this.nameAndTypeDescriptorIndex = nameAndTypeDescriptorIndex; owner._newKey.set(getTag(), bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); owner._entryMap.put(owner._newKey.clone(), this); owner._newKey.clear(); }
@Override public Void visitInvokeDynamicInfo(final InvokeDynamicInfo info, final CodeStream codeStream) { codeStream.putByte(info.getTag().value); codeStream.putShort(info.bootstrapMethodAttributeIndex); codeStream.putShort(info.nameAndTypeDescriptorIndex); return null; }
@Override public Void visitInvokeDynamicInfo(final InvokeDynamicInfo info, final CodeStream codeStream) { codeStream.putByte(info.getTag().value); codeStream.putShort(info.bootstrapMethodAttributeIndex); codeStream.putShort(info.nameAndTypeDescriptorIndex); return null; }
InvokeDynamicInfo getInvokeDynamicInfo( final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { _lookupKey.set(Tag.InvokeDynamicInfo, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); Entry entry = _entryMap.get(_lookupKey); if (entry == null) { entry = new InvokeDynamicInfo(this, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); } _lookupKey.clear(); return (InvokeDynamicInfo)entry; }
public InvokeDynamicInfo( final ConstantPool owner, final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { super(owner); this.bootstrapMethodAttributeIndex = bootstrapMethodAttributeIndex; this.nameAndTypeDescriptorIndex = nameAndTypeDescriptorIndex; owner._newKey.set(getTag(), bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); owner._entryMap.put(owner._newKey.clone(), this); owner._newKey.clear(); }
InvokeDynamicInfo getInvokeDynamicInfo( final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { _lookupKey.set(Tag.InvokeDynamicInfo, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); Entry entry = _entryMap.get(_lookupKey); if (entry == null) { entry = new InvokeDynamicInfo(this, bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); } _lookupKey.clear(); return (InvokeDynamicInfo)entry; }
public InvokeDynamicInfo( final ConstantPool owner, final int bootstrapMethodAttributeIndex, final int nameAndTypeDescriptorIndex) { super(owner); this.bootstrapMethodAttributeIndex = bootstrapMethodAttributeIndex; this.nameAndTypeDescriptorIndex = nameAndTypeDescriptorIndex; owner._newKey.set(getTag(), bootstrapMethodAttributeIndex, nameAndTypeDescriptorIndex); owner._entryMap.put(owner._newKey.clone(), this); owner._newKey.clear(); }
@Override public Void visitInvokeDynamicInfo(final InvokeDynamicInfo info, final CodeStream codeStream) { codeStream.putByte(info.getTag().value); codeStream.putShort(info.bootstrapMethodAttributeIndex); codeStream.putShort(info.nameAndTypeDescriptorIndex); return null; }