File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
byte-buddy-dep/src/main/java/net/bytebuddy/description/type Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8056,12 +8056,12 @@ public boolean isPackageType() {
80568056 public boolean isGenerified () {
80578057 if (!getTypeVariables ().isEmpty ()) {
80588058 return true ;
8059- } else if (isStatic ()) {
8060- return false ;
80618059 }
8062- TypeDescription declaringType = getDeclaringType ();
8063- if (declaringType != null && declaringType .isGenerified ()) {
8064- return true ;
8060+ if (!isStatic ()) {
8061+ TypeDescription declaringType = getDeclaringType ();
8062+ if (declaringType != null && declaringType .isGenerified ()) {
8063+ return true ;
8064+ }
80658065 }
80668066 MethodDescription .InDefinedShape enclosingMethod = getEnclosingMethod ();
80678067 return enclosingMethod != null && enclosingMethod .isGenerified ();
You can’t perform that action at this time.
0 commit comments