In our case, we just use thatBooleanto choose which of two string resources to pass tolog(), using the ternary operator in Java and anifexpression in Kotlin. Hey, You Have a Typo inandroid:id! You may have noti
CreateSymbols.createSymbols() voidcreateSymbols()throwsIOException{Set<String>legacy=getLegacyPackages();Set<String>legacyProprietary=getLegacyPackages();Set<String>documented=newHashSet<String>();Set<PackageSymbol>packages=((JavacProcessingEnvironment)processingEnv).getSpecifiedPackages();Map<String,String>...
privatevoidaddAnnotations(SrcAnnotated<?>srcAnnotated,Symbolsymbol){for(Attribute.CompoundannotationMirror:symbol.getAnnotationMirrors()){Stringfqn=annotationMirror.getAnnotationType().toString();if(fqn.equals("jdk.internal.HotSpotIntrinsicCandidate")){// Since java 10 we have to keep these out of stubbed ...
@Override public boolean matches(CompoundAssignmentTree compoundAssignmentTree, VisitorState state) { if (!operators.contains(compoundAssignmentTree.getKind())) { return false; } return receiverMatcher.matches(compoundAssignmentTree.getVariable(), state) && expressionMatcher.matches(compoundAssignmentTree.get...
If the inserted text # contains '$(function)', '$(javaparam)' or '$(fclass)', these will be # replaced with, respectively, the name of the function, the javadoc '@param' # and '@return' stuff, or the name of the class to which the member function ...
@Override public boolean matches(CompoundAssignmentTree compoundAssignmentTree, VisitorState state) { if (!operators.contains(compoundAssignmentTree.getKind())) { return false; } return receiverMatcher.matches(compoundAssignmentTree.getVariable(), state) && expressionMatcher.matches(compoundAssignmentTree.get...
KT-59798Builder inference is not working when combined withletexpression KT-54227Cannot use nullable Nothing as reified type parameter KT-71430Kotlin-to-Java direct actualization implementation KT-68163Expose supplementary compiler warnings via CLI