📄 bytecodeargumenttag.java
字号:
/* * ByteCodeArgumentTag.java * * Created on June 26, 2003, 11:48 AM */package gov.nist.security.permissions.parser;/** * Class representing a bytecodeargument in a xml permissions file * @author DERUELLE Jean */public class ByteCodeArgumentTag { /**the class name of the argument type*/ private String className = null; /**the status of the bcel argument*/ /**private boolean isPermissionName=false;*/ /**the number of this parameter*/ private int argumentNumber; /** * Creates a new instance of ByteCodeArgumentTag */ public ByteCodeArgumentTag() { } /** * get the class name of the argument type * @return class name argument type */ public String getClassName() { return className; } /** * set the class name of the argument type * @param className - class name argument type */ public void setClassName(String className) { this.className=className; } /** * return the status of the bcel argument * if it's a permission name we will have to load the permission name * for this argument in the bytecode rewriting * @return true if the argument is a permission name * (the permission name is the URI or domain or wildcard in the permission * example : for permission java.io.FilePermission "D:\\test\\-", "read"; * the permission name is "D:\\test\-") */ /**public boolean getIsPermissionName() { return isPermissionName; }*/ /** * set the status of the bcel argument * if it's a permission name we will have to load the permission name * for this argument in the bytecode rewriting * @param isPermissionName - the status of the argument * (the permission name is the URI or domain or wildcard in the permission * example : for permission java.io.FilePermission "D:\\test\\-", "read"; * the permission name is "D:\\test\-") */ /**public void setIsPermissionName(boolean isPermissionName) { this.isPermissionName=isPermissionName; }*/ /** * For this argument passed to the invoke method creation in the bytecode rewriting * we have to specified which parameter of the method we want to check it is * this method return the number of this parameter * @return the number of this parameter */ public int getArgumentNumber() { return argumentNumber; } /** * For this argument passed to the invoke method creation in the bytecode rewriting * we have to specified which parameter of the method we want to check it is * @param argumentNumber - the number of this parameter */ public void setArgumentNumber(int argumentNumber) { this.argumentNumber=argumentNumber; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -