jdk/src/java.base/share/classes/java/lang/Class.java
changeset 25991 e48157b42439
parent 25979 42e5d9f8087e
parent 25859 3317bb8137f4
child 26219 1a19360ff122
equal deleted inserted replaced
25876:d06a6d3c66c0 25991:e48157b42439
  1320         // (for nested and inner classes): the simple name.
  1320         // (for nested and inner classes): the simple name.
  1321         // (for local classes): 1 or more digits followed by the simple name.
  1321         // (for local classes): 1 or more digits followed by the simple name.
  1322         // (for anonymous classes): 1 or more digits.
  1322         // (for anonymous classes): 1 or more digits.
  1323 
  1323 
  1324         // Since getSimpleBinaryName() will strip the binary name of
  1324         // Since getSimpleBinaryName() will strip the binary name of
  1325         // the immediatly enclosing class, we are now looking at a
  1325         // the immediately enclosing class, we are now looking at a
  1326         // string that matches the regular expression "\$[0-9]*"
  1326         // string that matches the regular expression "\$[0-9]*"
  1327         // followed by a simple name (considering the simple of an
  1327         // followed by a simple name (considering the simple of an
  1328         // anonymous class to be the empty string).
  1328         // anonymous class to be the empty string).
  1329 
  1329 
  1330         // Remove leading "\$[0-9]*" from the name
  1330         // Remove leading "\$[0-9]*" from the name