public PsiClassStubImpl(final JavaClassElementType type, final StubElement parent, final StringRef qualifiedName, final StringRef name, final StringRef baseRefText, final byte flags) { super(parent, type); myQualifiedName = qualifiedName; myName = name; myBaseRefText = baseRefText; myFlags = flags; if (StubBasedPsiElementBase.ourTraceStubAstBinding) { String creationTrace = "Stub creation thread: " + Thread.currentThread() + "\n" + DebugUtil.currentStackTrace(); putUserData(StubBasedPsiElementBase.CREATION_TRACE, creationTrace); } }
public PsiClassStubImpl(final JavaClassElementType type, final StubElement parent, @Nullable final String qualifiedName, @Nullable final String name, @Nullable final String baseRefText, final byte flags) { super(parent, type); myQualifiedName = qualifiedName; myName = name; myBaseRefText = baseRefText; myFlags = flags; if(StubBasedPsiElementBase.ourTraceStubAstBinding) { String creationTrace = "Stub creation thread: " + Thread.currentThread() + "\n" + DebugUtil.currentStackTrace(); putUserData(StubBasedPsiElementBase.CREATION_TRACE, creationTrace); } }
public PsiClassStubImpl(final JavaClassElementType type, final StubElement parent, final String qualifiedName, final String name, @Nullable final String baseRefText, final byte flags) { this(type, parent, StringRef.fromString(qualifiedName), StringRef.fromString(name), StringRef.fromString(baseRefText), flags); }