1 package net.sourceforge.phpeclipse.mover.obfuscator;
6 * To change this generated comment edit the template variable "typecomment":
7 * Window>Preferences>Java>Templates.
8 * To enable and disable the creation of type comments go to
9 * Window>Preferences>Java>Code Generation.
11 public class PHPIdentifier {
13 public final static int CLASS = 1;
14 public final static int FUNCTION = 2;
15 public final static int VARIABLE = 3;
18 private String fIdentifier;
20 public PHPIdentifier(String identifier, int type) {
22 fIdentifier = identifier;
25 public boolean isClass() {
26 return fType == CLASS;
29 public boolean isFuncton() {
30 return fType == FUNCTION;
33 public boolean isVariable() {
34 return fType == VARIABLE;
37 public void setType(int fType) {
41 public int getType() {
45 public void setIdentifier(String fIdentifier) {
46 this.fIdentifier = fIdentifier;
49 public String getIdentifier() {