"import" is a reserved word in Java
See original GitHub issueAll AWS constructs have a static import
method to allow bringing-in resources defined externally. However, import
is reserved in Java (and possibly in other languages).
In the interim the jsii compiler will simply add an _
at the end of the method name, but we need to find a new name for the method and rename across the codebase.
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Reserved Words in Java
List of Reserved Java Keywords ; implements, import, instanceof, int, interface ; native, new, null, package, private ; public, return, short ...
Read more >Java Keywords
Java Reserved Keywords ; native, Specifies that a method is not implemented in the same Java source file (but in another language) ;...
Read more >What are Java Reserved Words?
Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, ......
Read more >Java Reserved Keywords
import, Used to include or reference other packages/classes into the program. ; instanceOf, Used to check if the given object is an instance...
Read more >Reserved Words in Java Explained - YouTube
In this video, I am talking about Reserved words in Java.In the Java programming language reserved words are keywords that have a predefined ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also, we should standardize the naming for
importFromContext
(which I argued should beimportFromEnvironment
).Superseded by #2273