PSI is a representation of the source code; it doesn't have any direct connection to classes that have been compiled from the source code, and by default IDEA doesn't load the compiled classes at all.
I want an Object of type MyEnum. What I did was call MyEnum.valueOf(...) but I was wondering if there was a better way.
-- Dmitry Jemerov Development Lead JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
Hello Brian,
What exactly do you mean by the value? The enum constant is the value.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I want an Object of type MyEnum. What I did was call MyEnum.valueOf(...) but I was wondering if there was a better way.
Hello Brian,
PSI is a representation of the source code; it doesn't have any direct connection
to classes that have been compiled from the source code, and by default IDEA
doesn't load the compiled classes at all.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks for clarifying, that's what I came to suspect after asking the question.