📄 xfield.java
字号:
/* * Bytecode Analysis Framework * Copyright (C) 2003,2004 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */package edu.umd.cs.findbugs.ba;/** * Abstract representation of a field. * Note that this is called "XField" to distinguish it from * BCEL's Field class. Also, you can think of the "X" as expanding * to "Instance" or "Static". * <p/> * <p> This interface and its implementations exist because Field * objects in BCEL are awkward to deal with. They are not Comparable, * it is difficult to find out what class they belong to, etc. */public interface XField extends Comparable<XField> { /** * Get the name of the field. */ public String getFieldName(); /** * Get the name of the class the field is defined in. */ public String getClassName(); /** * Get the signature representing the field's type. */ public String getFieldSignature(); /** * Is the type of the field a reference type? */ public boolean isReferenceType(); /** * Get the field's access flags. */ public int getAccessFlags(); /** * Is this a static field? */ public boolean isStatic(); /** * Is this a volatile field? */ public boolean isVolatile(); /** * Is this a final field? */ public boolean isFinal(); /** * Is this a public field? */ public boolean isPublic();}// vim:ts=4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -