mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Restrict fluent api models to same type access
This commit is contained in:
@@ -6,4 +6,10 @@ public final class FluentAPI {
|
||||
return this;
|
||||
}
|
||||
|
||||
public class Inner {
|
||||
public FluentAPI notThis(String input) {
|
||||
return FluentAPI.this;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user