Your AI Pair Programmer

Codota understands the world’s code and provides you with the right suggestion at the right time

Download Codota for Java
Codota completions
connection.prepareStatement(sql);Connection connection; // java.sql.Connection String sql;
String sql;
  • ...connection.PreparedStatement(sql)
  • ...connection.PreparedStatement("")
  • ...connection.PreparedStatement(string, int1, int2)
  • Base64Decoder
  • Base64Encoder

Let great code find you

Get contextual code completions & suggestions while you write in your IDE

Snippet predictions

Get concise code references that can save you time and prevent errors

Code discovery

Search code by classes or methods to get common & credible references

Autocomplete based on learned code idioms

Codota writes pieces of code for you based on models learned from millions of great programs. Easily adopt standard code idioms and focus on the specifics of your problem and not common component wiring.

Meet Codota Instant Search

Search Codota from everywhere on your machine
with a simple keystroke

Learn more about Instant Search

No more browser/IDE switches

Codota dramatically reduces the need to context switch between your IDE and the browser by bringing the best code to you at the right time and place

Runs alongside your IDE

Codota runs on your development machine. You can easily control the amount of screen real-estate to allocate to it

Understanding the world's code

Codota’s algorithms learn from millions of programs to establish the best, most relevant, and most helpful code for any given task

Your code stays private

Codota doesn’t upload your code to the cloud. To learn more about the information that’s being sent to our servers to provide code insights, check our FAQ

Codota for teams

Codota automatically learns the patterns and rules in your company’s proprietary code to make sure your developers have the best code insights, whenever and wherever they need them.

Learn more about Codota for teams

Ittai Zeidman

Backend Engineering Lead at

“Codota helps us code faster and make fewer errors”

Codota gives us the code we need from all relevant repositories - in our IDE. It’s just so much better than trying to find code using plain textual search.

Available for Java, more languages coming soon!

Codota integrates with the most popular Java IDEs, more languages coming soon

Learn more about IDE integration
Try Codota in your browser now

Popular APIs

  • Gson

    This is the main class for using Gson. Gson is typically used by first constructing a Gson instance and then invoking #toJson(Object) or #fromJson(String,Class)methods on it

  • Stream.filter

    Returns a stream consisting of the elements of this stream that match the given predicate

  • Executors.newFixedThreadPool

    Creates a thread pool that reuses a fixed number of threads operating off a shared unbounded queue

  • GetMapping

    Annotation for mapping HTTP GET requests onto specific handler methods

  • OkHttpClient

    Factory for Call, which can be used to send HTTP requests and read their responses

  • ImmutableList

    A high-performance, immutable, random-access List implementation. Does not permit null elements

  • BufferedReader

    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is minimized, since most (smaller) requests can be satisfied by accessing the buffer alone

  • URL.openConnection

    Returns a new connection to the resource referred to by this URL

Download Codota for Java