Return a string describing the access modifier flags in
the specified modifier. For example:
public final synchronized strictfp
The modifier names are returned in an order consistent with the
suggested modifier orderings given in
href="http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html">
The
Java Language Specification, Second Edition sections
§8.1.1,
§8.3.1,
§8.4.3,
§8.8.3, and
§9.1.1.
The full modifier ordering used by this method is:
public protected private abstract static final transient
volatile synchronized native strictfp
interface
The
interface
modifier discussed in this class is
not a true modifier in the Java language and it appears after
all other modifiers listed by this method. This method may
return a string of modifiers that are not valid modifiers of a
Java entity; in other words, no checking is done on the
possible validity of the combination of modifiers represented
by the input.
Returns:
a string representation of the set of modifiers
represented by
mod
Parameters:
-
mod - a set of modifiers