what the below code line does in java.
private static final String PERMISSIONS_KEY = BaseActionStepsHandler.class.getName() + ".USER.ROLES";
Note:
BaseActionStepsHandler is java class,and it is extended in another java class
InvConfirmActionStepsHandler .
The above code is declared in BaseActionStepsHandler.java and it is
called in InvConfirmActionStepsHandler class like below
private static final String PERMISSIONS_KEY = BaseActionStepsHandler.class.getName() + ".USER.ROLES";
what does it mean.??
This creates a constant that holds the fully qualified name of the
BaseActionStepsHandlerclass concatenated with.USER.ROLES.So, its value will be:
It uses the so called class-literal –
ClassName.class, which is aClassobject for the class in question.