@Override public String getName() { PerlConstantStub stub = getStub(); if (stub != null) return stub.getName(); PerlString nameIdentifier = getNameIdentifier(); return nameIdentifier == null ? null : nameIdentifier.getStringContent(); }
@Override public String getPackageName() { // fixme check stub PerlConstantStub stub = getStub(); if (stub != null) return stub.getPackageName(); String namespace = getExplicitPackageName(); if (namespace == null) namespace = getContextPackageName(); return namespace; }