Java Code Examples for proguard.classfile.util.ClassUtil#internalTypeSize()

The following examples show how to use proguard.classfile.util.ClassUtil#internalTypeSize() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConstantInstruction.java    From java-n-IDE-for-Android with Apache License 2.0 5 votes vote down vote up
private void visitRefConstant(Clazz clazz, RefConstant methodrefConstant)
{
    String type = methodrefConstant.getType(clazz);

    parameterStackDelta = ClassUtil.internalMethodParameterSize(type);
    typeStackDelta      = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}
 
Example 2
Source File: ConstantInstruction.java    From proguard with GNU General Public License v2.0 5 votes vote down vote up
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
{
    String type = nameAndTypeConstant.getType(clazz);

    parameterStackDelta = ClassUtil.internalMethodParameterSize(type);
    typeStackDelta      = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}
 
Example 3
Source File: ConstantInstruction.java    From bazel with Apache License 2.0 5 votes vote down vote up
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
{
    String type = nameAndTypeConstant.getType(clazz);

    parameterStackDelta = ClassUtil.internalMethodParameterSize(type);
    typeStackDelta      = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}
 
Example 4
Source File: ConstantInstruction.java    From java-n-IDE-for-Android with Apache License 2.0 4 votes vote down vote up
public void visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant)
{
    String type = fieldrefConstant.getType(clazz);

    typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}
 
Example 5
Source File: ConstantInstruction.java    From proguard with GNU General Public License v2.0 4 votes vote down vote up
public void visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant)
{
    String type = fieldrefConstant.getType(clazz);

    typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}
 
Example 6
Source File: ConstantInstruction.java    From bazel with Apache License 2.0 4 votes vote down vote up
public void visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant)
{
    String type = fieldrefConstant.getType(clazz);

    typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type));
}